/* ===================================
   PrimeHR Payroll - Landing Page Styles
   =================================== */

/* ===================================
   CURRENT THEME: ORIGINAL INDIGO
   Blue/Purple gradient - Clean & Professional
   =================================== */

:root {
    /* =================================
       BRAND / PRIMARY COLORS - Deep Navy
       ================================= */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* =================================
       ACCENT - Cyan (Secondary highlights)
       ================================= */
    --accent-400: #22d3ee;
    --accent-500: #06b6d4;
    --accent-600: #0891b2;

    --hero-gradient-start: #667eea;
    --hero-gradient-end: #764ba2;

    /* =================================
       SEMANTIC / STATUS COLORS
       ================================= */
    --success-400: #4ade80;
    --success-500: #22c55e;
    --success-600: #16a34a;

    --warning-400: #fbbf24;
    --warning-500: #eab308;
    --warning-600: #d97706;

    --error-400: #f87171;
    --error-500: #ef4444;
    --error-600: #dc2626;

    /* =================================
       NEUTRAL / GRAY PALETTE
       ================================= */
    --gray-50: #f0c498;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;

    /* =================================
       UI ELEMENT COLORS
       ================================= */
    --dot-close: #ff5f57;
    --dot-minimize: #ffbd2e;
    --dot-maximize: #28ca41;

    --orb-primary-start: rgba(99, 102, 241, 0.4);
    --orb-primary-end: rgba(139, 92, 246, 0.3);
    --orb-accent-start: rgba(6, 182, 212, 0.3);
    --orb-accent-end: rgba(99, 102, 241, 0.2);
    --orb-pink-start: rgba(236, 72, 153, 0.2);
    --orb-pink-end: rgba(139, 92, 246, 0.2);

    /* =================================
       OVERLAY & BACKDROP COLORS
       ================================= */
    --overlay-light: rgba(255, 255, 255, 0.8);
    --overlay-lighter: rgba(255, 255, 255, 0.95);
    --overlay-white-subtle: rgba(255, 255, 255, 0.15);
    --overlay-white-medium: rgba(255, 255, 255, 0.2);
    --overlay-dark-subtle: rgba(0, 0, 0, 0.05);
    --overlay-dark-light: rgba(0, 0, 0, 0.1);
    --overlay-dark-medium: rgba(0, 0, 0, 0.25);

    --placeholder-light: rgba(255, 255, 255, 0.7);
    --text-white-muted: rgba(255, 255, 255, 0.9);

    /* =================================
       GRADIENTS - Blue/Purple
       ================================= */
    --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-500) 100%);
    --gradient-hero: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-400) 100%);
    --gradient-section: linear-gradient(180deg, var(--gray-50) 0%, white 100%);

    --glow-primary: rgba(99, 102, 241, 0.4);
    --glow-primary-light: rgba(99, 102, 241, 0.3);
    --glow-primary-subtle: rgba(99, 102, 241, 0.2);
    --glow-primary-faint: rgba(99, 102, 241, 0.05);

    /* =================================
       SHADOWS
       ================================= */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px var(--glow-primary-light);
    --shadow-card-glow: 0 10px 30px var(--glow-primary-light);

    /* =================================
       SPACING & LAYOUT
       ================================= */
    --section-padding: 140px 0;
    --container-max: 1200px;
    --container-padding: 24px;

    /* =================================
       TRANSITIONS
       ================================= */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* =================================
       BORDER RADIUS
       ================================= */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* =================================
       SEMANTIC ALIASES
       ================================= */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --text-disabled: var(--gray-400);
    --text-inverse: white;
    --text-brand: var(--primary-600);

    --bg-primary: white;
    --bg-secondary: var(--gray-50);
    --bg-tertiary: var(--gray-100);
    --bg-inverse: var(--gray-900);
    --bg-brand: var(--primary-50);
    --bg-brand-strong: var(--primary-600);

    --border-light: var(--gray-100);
    --border-default: var(--gray-200);
    --border-dark: var(--gray-300);
    --border-brand: var(--primary-200);
    --border-brand-strong: var(--primary-500);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   ALTERNATING SECTION BACKGROUNDS
   Light/Dark pattern for visual rhythm
   =================================== */

/* Light Section - Default look */
.section-light {
    background: var(--gray-50) !important;
    color: var(--gray-800) !important;
    position: relative;
    overflow: hidden;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
    color: var(--gray-900) !important;
}

.section-light p,
.section-light .section-description {
    color: var(--gray-600) !important;
}

.section-light .section-badge {
    background: var(--primary-50) !important;
    color: var(--primary-600) !important;
}

/* Light section cards */
.section-light .feature-card,
.section-light .pricing-card,
.section-light .testimonial-card,
.section-light .upcoming-card {
    background: white !important;
    border-color: var(--gray-200) !important;
}

.section-light .feature-card h3,
.section-light .pricing-card h3,
.section-light .upcoming-card h3 {
    color: var(--gray-900) !important;
}

.section-light .feature-card p,
.section-light .pricing-card p,
.section-light .upcoming-card p {
    color: var(--gray-600) !important;
}

.section-light .feature-list li {
    color: var(--gray-700) !important;
}

.section-light .feature-list li::before {
    color: var(--primary-500) !important;
}

.section-light .feature-icon {
    background: var(--primary-50) !important;
}

.section-light .feature-icon svg {
    stroke: var(--primary-600) !important;
}

/* Light section pricing */
.section-light .plan-header h3 {
    color: var(--gray-900) !important;
}

.section-light .plan-header p {
    color: var(--gray-500) !important;
}

.section-light .plan-price .currency {
    color: var(--gray-500) !important;
}

.section-light .plan-price .amount {
    color: var(--gray-900) !important;
}

.section-light .plan-price .period {
    color: var(--gray-500) !important;
}

.section-light .plan-features li {
    color: var(--gray-700) !important;
}

.section-light .plan-features li::before {
    color: var(--primary-500) !important;
}

.section-light .toggle-label {
    color: var(--gray-500) !important;
}

.section-light .toggle-label.active {
    color: var(--gray-900) !important;
}

.section-light .toggle-switch {
    background: var(--gray-200) !important;
}

/* Light section steps */
.section-light .step-number {
    background: var(--gradient-primary) !important;
    color: white !important;
}

.section-light .step-content h3 {
    color: var(--gray-900) !important;
}

.section-light .step-content p {
    color: var(--gray-600) !important;
}

.section-light .step-line {
    background: var(--gray-200) !important;
}

/* Light section buttons */
.section-light .btn-outline {
    border-color: var(--gray-200) !important;
    color: var(--gray-700) !important;
}

.section-light .btn-outline:hover {
    border-color: var(--primary-500) !important;
    color: var(--primary-600) !important;
    background: var(--primary-50) !important;
}

/* Light section gradient text */
.section-light .gradient-text {
    background: var(--gradient-text) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Integration card-back text should stay white (dark gradient background) */
.section-light .card-back {
    color: white !important;
}

.section-light .card-back h4 {
    color: white !important;
}

.section-light .card-back p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Dark Section - Inverted colors */
.section-dark {
    background: var(--primary-900);
    color: var(--gray-200);
    position: relative;
    overflow: hidden;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

.section-dark p {
    color: var(--gray-300);
}

.section-dark .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-400);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-dark .section-description {
    color: var(--gray-300);
}

.section-dark .trusted-label {
    color: var(--gray-400);
}

.section-dark .company-logo {
    color: var(--gray-500);
}

/* Dark section cards */
.section-dark .feature-card,
.section-dark .upcoming-card,
.section-dark .testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-dark .feature-card:hover,
.section-dark .upcoming-card:hover,
.section-dark .testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-500);
}

.section-dark .feature-card h3,
.section-dark .upcoming-card h3,
.section-dark .testimonial-card h3 {
    color: white;
}

.section-dark .feature-card p,
.section-dark .upcoming-card p {
    color: var(--gray-300);
}

.section-dark .feature-list li {
    color: var(--gray-200);
}

.section-dark .feature-list li::before {
    color: var(--accent-400);
}

.section-dark .feature-icon {
    background: rgba(255, 255, 255, 0.1);
}

.section-dark .feature-icon svg {
    stroke: var(--accent-400);
}

.section-dark .upcoming-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-400);
}

/* Dark section integration cards */
.section-dark .integration-card .card-front {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .integration-card .card-front span {
    color: var(--gray-200);
}

/* Dark section testimonials */
.section-dark .testimonial-text {
    color: var(--gray-200);
}

.section-dark .author-name {
    color: white;
}

.section-dark .author-role {
    color: var(--gray-400);
}

/* Dark section buttons */
.section-dark .btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.section-dark .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-400);
    color: var(--accent-400);
}

/* Gradient text on dark backgrounds - bright cyan/light blue */
.section-dark .gradient-text {
    background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Dark section pricing cards */
.section-dark .pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .pricing-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.section-dark .pricing-card.featured {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-500);
}

.section-dark .plan-header h3 {
    color: white;
}

.section-dark .plan-header p,
.section-dark .plan-price .currency,
.section-dark .plan-price .period {
    color: var(--gray-400);
}

.section-dark .plan-price .amount {
    color: white;
}

.section-dark .plan-features li {
    color: var(--gray-200);
}

.section-dark .plan-features li::before {
    color: var(--accent-400);
}

.section-dark .toggle-label {
    color: var(--gray-400);
}

.section-dark .toggle-label.active {
    color: white;
}

.section-dark .toggle-switch {
    background: rgba(255, 255, 255, 0.2);
}

/* Dark section step numbers */
.section-dark .step-number {
    background: var(--gradient-primary);
}

.section-dark .step-content p {
    color: var(--gray-300);
}

.section-dark .step-line {
    background: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 0 0 var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px var(--glow-primary);
}

.btn-outline {
    background: white;
    color: var(--gray-800);
    border: 2px solid white;
}

.btn-outline:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
    background: var(--primary-50);
}

.btn-attractive {
    background: white;
    color: var(--primary-600);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: var(--shadow-md);
    font-weight: 700;
    transition: all var(--transition-base);
}

.btn-attractive:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px var(--glow-primary-subtle);
    letter-spacing: 0.5px;
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

/* Default (Top/Dark Background) state text colors */
.navbar .logo {
    color: #690909;
}

.navbar .nav-links a {
    color: #791818;
    font-weight: 500;
}

.navbar .nav-links a:hover {
    color: var(--primary-600);
}

.navbar .mobile-menu-btn span {
    background: var(--gray-700);
}

.navbar .btn-ghost {
    color: #333333;
    font-size: 17px;
    font-weight: 500;
}

.navbar .btn-ghost:hover {
    background: transparent;
    color: var(--primary-600);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Scrolled state text colors (Dark) */
.navbar.scrolled .logo {
    color: var(--gray-900);
}

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary-600);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--gray-700);
}

.navbar.scrolled .btn-ghost {
    color: var(--gray-600);
}

.navbar.scrolled .btn-ghost:hover {
    color: var(--primary-600);
    background: transparent;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: inherit;
    /* Inherit from navbar state */
}

.brand-logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 17px;
    font-weight: 500;
    color: inherit;
    /* Inherit from navbar state */
}

.nav-links a:hover {
    color: inherit;
    /* Controlled by navbar state */
}

.nav-links a {
    position: relative;
    padding-bottom: 8px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background-color: var(--primary-600);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar.scrolled .nav-links a::after {
    background-color: var(--primary-600);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    transition: all var(--transition-base);
    background: inherit;
    /* Inherit from navbar state */
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: visible;
    background: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--orb-primary-start) 0%, var(--orb-primary-end) 100%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--orb-accent-start) 0%, var(--orb-accent-end) 100%);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--orb-pink-start) 0%, var(--orb-pink-end) 100%);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 60px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-image {
    flex: 1;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image img {
    width: 150%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    mix-blend-mode: lighten;
    filter: brightness(1.1) contrast(1.1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-700);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
    color: white;
}

.hero-description {
    font-size: 16px;
    color: var(--gray-200);
    max-width: 500px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s backwards;

    /* Glass effect */
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0px 0px 30px rgba(227, 228, 237, 0.4);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-300);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Dashboard styles removed */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 13px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Trusted By */
.trusted-by {
    padding: 60px 0;
    background: white;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.trusted-label {
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 32px;
}

.logo-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 48px;
    animation: scroll 20s linear infinite;
}

.company-logo {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-300);
    white-space: nowrap;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* Section Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-50);
    color: var(--primary-600);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 16px;
}

.section-description {
    font-size: 17px;
    color: var(--gray-600);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.see-all-features {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateX(1deg);
}

.feature-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.18),
        0 10px 20px rgba(0, 0, 0, 0.12),
        0 0 30px rgba(255, 193, 7, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.feature-card.feature-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.feature-card.feature-highlight {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.feature-card.feature-highlight h3,
.feature-card.feature-highlight p {
    color: white;
}

.feature-card.feature-highlight .feature-list li::before {
    color: var(--accent-400);
}

.feature-card.feature-highlight .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-card.feature-highlight .feature-icon svg {
    stroke: white;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-600);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card>p {
    color: var(--gray-600);
    font-size: 15px;
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    font-size: 14px;
    color: var(--gray-700);
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: 600;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Payslip Preview */
.payslip-preview {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 280px;
}

.payslip-header {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
}

.payslip-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--gray-100);
}

.payslip-row.deduction .amount {
    color: var(--error-500);
}

.payslip-row .amount {
    font-weight: 600;
    color: var(--gray-800);
}

.payslip-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    font-weight: 700;
    background: var(--primary-50);
}

.payslip-total .amount {
    color: var(--primary-600);
    font-size: 16px;
}

.compliance-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}

/* More Features */
.more-features {
    padding: 0 0 100px;
    background: var(--gray-50);
}

.mini-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mini-feature {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.mini-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.mini-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.mini-feature h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.mini-feature p {
    font-size: 13px;
    color: var(--gray-500);
}

/* How It Works */
.how-it-works {
    padding: 100px 0 140px;
    background: white;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    color: white;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 15px;
}

.step-line {
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 40px);
    height: 2px;
    background: var(--gray-200);
}

.step:last-child .step-line {
    display: none;
}

/* Integrations */
/* Integrations */
.integrations {
    padding: 100px 0;
    background: var(--gradient-section);
    position: relative;
    overflow: hidden;
}

.integrations::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-primary-faint) 0%, transparent 70%);
    pointer-events: none;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Center the last 2 cards in the second row */
.integrations-grid .integration-card:nth-child(5) {
    grid-column: 2 / 3;
}

.integrations-grid .integration-card:nth-child(6) {
    grid-column: 3 / 4;
}

.integration-card {
    perspective: 1000px;
    height: 200px;

}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.integration-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

.card-front {
    background: white;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.card-back {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
    color: white;
    box-shadow: var(--shadow-card-glow);
}

.card-back h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.card-back p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.integration-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    /* Fixed height for the icon container to ensure alignment */
    margin-bottom: 16px;
}

.integration-img-logo {
    height: 80px;
    width: auto;
    display: block;
    /* Change to block to avoid baseline issues */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.integration-img-logo.icon-lg {
    height: 100px;
}

.integration-card:hover .integration-img-logo {
    transform: scale(1.15) rotate(5deg);
}

.card-front span {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
}

/* Pricing */
.pricing {
    padding: var(--section-padding);
    background: white;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 15px;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.toggle-label:hover {
    color: var(--gray-700);
}

.toggle-label.active {
    color: #fd9002;
    font-weight: 700;
    background: #fffbd8;
    box-shadow: 0 2px 4px rgba(255, 179, 0, 0.1);
}

.toggle-switch {
    width: 100px;
    height: 44px;
    background: #ffffff;
    border-radius: 100px;
    border: 2.5px solid #F0A500;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(240, 165, 0, 0.2);
}

.toggle-switch:hover {
    transform: none;
    box-shadow: 0 4px 18px rgba(240, 165, 0, 0.35);
}

.toggle-switch.active {
    background: #ffffff;
    border: 2.5px solid #F0A500;
    box-shadow: 0 2px 10px rgba(240, 165, 0, 0.2);
}

.toggle-slider {
    position: absolute;
    top: 50%;
    left: 4px;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.emoji {
    font-size: 26px;
    line-height: 1;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toggle-emoji-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.emoji-monthly .toggle-emoji-img {
    width: 40px;
    height: 40px;
}

.emoji-monthly {
    opacity: 1;
    transform: scale(1);
}

.emoji-annual {
    opacity: 0;
    transform: scale(0.5);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(56px);
}

.toggle-switch.active .emoji-monthly {
    opacity: 0;
    transform: scale(0.5);
}

.toggle-switch.active .emoji-annual {
    opacity: 1;
    transform: scale(1);
}

.toggle-slider::before {
    display: none;
}

.toggle-switch.active .toggle-slider::before {
    content: '';
    color: transparent;
}

.save-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FFB300 0%, #FF8F00 100%);
    color: #2D1B15;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(255, 179, 0, 0.3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.3),
        0 0 40px rgba(99, 102, 241, 0.2),
        0 0 0 1px var(--primary-300);
    border-color: var(--primary-400);
    z-index: 10;
}

.pricing-card.featured {
    border: 2px solid var(--primary-500);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
    /* Same size as other cards, no initial scale */
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.4),
        0 0 60px rgba(99, 102, 241, 0.25),
        0 0 0 2px var(--primary-400);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #3B153A;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.plan-header {
    margin-bottom: 24px;
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.plan-header p {
    color: var(--gray-500);
    font-size: 14px;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 32px;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: 8px;
}

.plan-price .amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.plan-price .period {
    font-size: 14px;
    color: var(--gray-500);
    align-self: flex-end;
    margin-bottom: 8px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.plan-features li {
    font-size: 14px;
    color: var(--gray-700);
    padding-left: 24px;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding);
    background: var(--gray-50);
}

/* Upcoming Features */
.upcoming-features {
    padding: var(--section-padding);
    background: white;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.upcoming-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 2px dashed var(--gray-200);
    display: flex;
    gap: 20px;
    transition: all var(--transition-base);
    position: relative;
}

.upcoming-card:hover {
    border-color: var(--primary-300);
    background: var(--primary-50);
    transform: translateY(-2px);
}

.upcoming-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.upcoming-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.upcoming-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 12px;
}

.upcoming-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 80px;
    font-family: serif;
    color: var(--primary-500);
    opacity: 0.1;
    line-height: 1;
}

.section-dark .testimonial-card::before {
    color: var(--accent-400);
    opacity: 0.2;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: var(--gray-500);
}

/* Features Page Styles */
.page-header {
    padding: 140px 0 60px;
    background: var(--gray-50);
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--primary-600);
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.all-features {
    padding: 60px 0 100px;
    background: white;
}

.feature-section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gray-200);
}

.feature-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.feature-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-section-icon {
    font-size: 36px;
}

.feature-section-header h2 {
    font-size: 28px;
    color: var(--gray-900);
}

.feature-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-detail-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 16px;
    padding: 24px;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateX(1deg);
}

.feature-detail-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.18),
        0 10px 20px rgba(0, 0, 0, 0.12),
        0 0 30px rgba(255, 193, 7, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.feature-detail-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.feature-detail-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Dark section heading override */
.section-dark .feature-section-header h2 {
    color: #fff183 !important;
}



@media (max-width: 1024px) {
    .feature-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-details-grid {
        grid-template-columns: 1fr;
    }

    .feature-section-header {
        flex-direction: column;
        text-align: center;
    }
}

/* CTA Section */
.cta {
    padding: 160px 0;
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: white;
    margin-bottom: 32px;
}

.cta>.cta-content>p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-form {
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    gap: 12px;
    background: var(--overlay-white-subtle);
    padding: 8px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.form-group input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: white;
    font-size: 16px;
    outline: none;
}

.form-group input::placeholder {
    color: var(--placeholder-light);
}

.form-group .btn {
    flex-shrink: 0;
}

.cta-note {
    font-size: 13px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--gray-400);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-600);
    color: white;
}

.footer-links h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
    font-size: 13px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card.feature-large {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .mini-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Reset centering on tablet */
    .integrations-grid .integration-card:nth-child(5),
    .integrations-grid .integration-card:nth-child(6) {
        grid-column: auto;
    }

    .upcoming-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.feature-large {
        grid-column: span 1;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-line {
        display: none;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reset centering on mobile */
    .integrations-grid .integration-card:nth-child(5),
    .integrations-grid .integration-card:nth-child(6) {
        grid-column: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .form-group {
        flex-direction: column;
    }

    .scroll-indicator {
        display: none;
    }

    .upcoming-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .mini-features-grid {
        grid-template-columns: 1fr;
    }

    .integrations-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   DECORATIVE BLOBS
   =================================== */

.bg-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    /* filter: blur(100px); <-- REMOVED THIS AS IT WAS CAUSING THE STAIN LOOK */
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    background: radial-gradient(circle, rgba(240, 201, 135, 0.6) 0%, rgba(240, 201, 135, 0.2) 70%);
}

.blob-2 {
    background: radial-gradient(circle, rgba(59, 21, 58, 0.5) 0%, rgba(59, 21, 58, 0.15) 70%);
}

.section-light .bg-blob {
    opacity: 0.35;
}

.section-dark .bg-blob {
    opacity: 0.25;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* Responsive blob sizes */
@media (max-width: 768px) {
    .bg-blob {
        width: 250px;
        height: 250px;
        filter: blur(60px);
    }
}