/* INTENOVA Design System */
/* Based on Brand Guidelines */

:root {
    /* Layout */
    --nav-height: 72px;

    /* Primary Colors (constant across themes) */
    --dark-navy: #000f14;
    --primary-blue: #00A1E0;
    --light-gray: #EBEBEB;
    --purple: #A12B93;
    --ice-blue: #91F3EF;
    --green: #38BC5C;
    --white: #FFFFFF;
    --black: #000f14;

    /* Color Variations */
    --primary-light: #1AB4F0;
    --primary-dark: #0078A8;
    --primary-10: rgba(0, 161, 224, 0.1);
    --primary-20: rgba(0, 161, 224, 0.2);

    --purple-light: #B843A8;
    --purple-dark: #7E1F70;
    --purple-10: rgba(161, 43, 147, 0.1);
    --purple-20: rgba(161, 43, 147, 0.2);

    --ice-blue-10: rgba(145, 243, 239, 0.1);
    --ice-blue-20: rgba(145, 243, 239, 0.2);

    --green-10: rgba(56, 188, 92, 0.1);
    --green-20: rgba(56, 188, 92, 0.2);

    /* Product Colors */
    --ai-primary: var(--primary-blue);
    --ai-gradient: linear-gradient(135deg, #00A1E0 0%, #0077B5 100%);
    --revo-primary: var(--purple);
    --revo-gradient: linear-gradient(135deg, #A12B93 0%, #7B1FA2 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Josefin Sans', 'Space Grotesk', sans-serif;

    /* Spacing (8px grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-7: 56px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;
}

/* Light Mode (Default) */
[data-theme="light"] {
    --bg-primary: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F5F5F5;
    --bg-overlay: rgba(255, 255, 255, 0.95);

    --text-primary: #000f14;
    --text-secondary: #4A4A4A;
    --text-muted: #7A7A7A;
    --text-inverse: #FFFFFF;

    --border-color: #E0E0E0;
    --border-hover: #CCCCCC;

    --nav-bg: rgba(255, 255, 255, 0.9);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.98);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-glow-blue: 0 0 40px rgba(0, 161, 224, 0.2);
    --shadow-glow-purple: 0 0 40px rgba(161, 43, 147, 0.2);

    --hero-gradient: radial-gradient(ellipse at top center, rgba(0, 161, 224, 0.08) 0%, transparent 50%),
                     radial-gradient(ellipse at bottom right, rgba(161, 43, 147, 0.05) 0%, transparent 40%);

    --logo-inte-color: var(--dark-navy);
    --logo-nova-color: var(--primary-blue);
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: var(--dark-navy);
    --bg-secondary: #001a22;
    --bg-tertiary: #002530;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-overlay: rgba(0, 15, 20, 0.95);

    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-inverse: #000f14;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);

    --nav-bg: rgba(0, 15, 20, 0.8);
    --nav-bg-scrolled: rgba(0, 15, 20, 0.95);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 40px rgba(0, 161, 224, 0.3);
    --shadow-glow-purple: 0 0 40px rgba(161, 43, 147, 0.3);

    --hero-gradient: radial-gradient(ellipse at top center, rgba(0, 161, 224, 0.15) 0%, transparent 50%),
                     radial-gradient(ellipse at bottom right, rgba(161, 43, 147, 0.1) 0%, transparent 40%);

    --logo-inte-color: #FFFFFF;
    --logo-nova-color: var(--primary-blue);
}

/* Light mode specific overrides */
[data-theme="light"] .product-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .module-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .docs-card,
[data-theme="light"] .calculator {
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .product-card:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .module-card:hover,
[data-theme="light"] .pricing-card:hover,
[data-theme="light"] .docs-card:hover {
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .nav__dropdown-menu {
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .hero__badge {
    background: rgba(56, 188, 92, 0.1);
    border-color: rgba(56, 188, 92, 0.2);
}

[data-theme="light"] .btn--secondary {
    border-color: var(--border-color);
}

[data-theme="light"] .btn--secondary:hover {
    background: rgba(0, 161, 224, 0.05);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--text-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--ice-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(135deg, var(--purple) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.container--narrow {
    max-width: var(--container-narrow);
}

section {
    padding: var(--space-10) 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-2) 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.nav.scrolled {
    background: var(--nav-bg-scrolled);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav__logo-img {
    width: 40px;
    height: 40px;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav__logo-text .inte { color: var(--logo-inte-color); transition: color var(--transition-base); }
.nav__logo-text .nova { color: var(--logo-nova-color); }

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav__link:hover {
    color: var(--text-primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-fast);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__dropdown {
    position: relative;
}

.nav__dropdown-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav__dropdown-trigger:hover {
    color: var(--text-primary);
}

.nav__dropdown-trigger svg {
    width: 12px;
    height: 12px;
    transition: var(--transition-fast);
}

.nav__dropdown:hover .nav__dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav__dropdown-menu {
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav__dropdown-item:hover {
    background: var(--bg-card-hover);
}

.nav__dropdown-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav__dropdown-icon.ai {
    background: rgba(0, 161, 224, 0.15);
    color: var(--primary-blue);
}

.nav__dropdown-icon.revo {
    background: rgba(161, 43, 147, 0.15);
    color: var(--purple);
}

.nav__dropdown-icon svg {
    width: 20px;
    height: 20px;
}

.nav__dropdown-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.nav__dropdown-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-1);
}

.nav__mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--ai-gradient);
    color: var(--white);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

.btn--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn--secondary:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 161, 224, 0.1);
}

.btn--purple {
    background: var(--revo-gradient);
    color: var(--white);
}

.btn--purple:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-purple);
}

.btn--outline-purple {
    background: transparent;
    color: var(--purple);
    border: 1px solid var(--purple);
}

.btn--outline-purple:hover {
    background: rgba(161, 43, 147, 0.1);
}

.btn--lg {
    padding: var(--space-2) var(--space-4);
    font-size: 1rem;
}

.btn--sm {
    padding: var(--space-1) var(--space-2);
    font-size: 0.85rem;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__bg-gradient {
    position: absolute;
    inset: 0;
    background: var(--hero-gradient);
    transition: background var(--transition-base);
}

.hero__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: rgba(56, 188, 92, 0.15);
    border: 1px solid rgba(56, 188, 92, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--green);
    margin-bottom: var(--space-4);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__title {
    margin-bottom: var(--space-3);
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-6);
}

/* Product Cards */
.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: var(--transition-base);
}

.product-card--ai::before {
    background: var(--ai-gradient);
}

.product-card--revo::before {
    background: var(--revo-gradient);
}

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.product-card--ai .product-card__icon {
    background: rgba(0, 161, 224, 0.15);
    color: var(--primary-blue);
}

.product-card--revo .product-card__icon {
    background: rgba(161, 43, 147, 0.15);
    color: var(--purple);
}

.product-card__icon svg {
    width: 28px;
    height: 28px;
}

.product-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-1);
}

.product-card__subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.product-card__description {
    margin-bottom: var(--space-4);
    min-height: 72px;
}

.product-card__features {
    list-style: none;
    margin-bottom: var(--space-4);
}

.product-card__features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-1);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-1);
}

.product-card__features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.product-card--ai .product-card__features li svg {
    color: var(--primary-blue);
}

.product-card--revo .product-card__features li svg {
    color: var(--purple);
}

.product-card__price {
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-color);
    margin-bottom: var(--space-3);
}

.product-card__price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-1);
}

.product-card__price-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.product-card__price-value span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.product-card__actions {
    display: flex;
    gap: var(--space-2);
    margin-top: auto;
}

.product-card__actions .btn {
    flex: 1;
}

/* Value Props Section */
.value-props {
    background: var(--bg-secondary);
}

.value-props__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.value-prop {
    text-align: center;
    padding: var(--space-4);
}

.value-prop__icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 161, 224, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    color: var(--primary-blue);
}

.value-prop__icon svg {
    width: 28px;
    height: 28px;
}

.value-prop__title {
    font-size: 1.1rem;
    margin-bottom: var(--space-1);
}

.value-prop__text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

.section-header__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    margin-bottom: var(--space-2);
}

.section-header__label.purple {
    color: var(--purple);
}

.section-header__title {
    margin-bottom: var(--space-2);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.section-header__text {
    font-size: 1.1rem;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 161, 224, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    color: var(--primary-blue);
}

.feature-card__icon.purple {
    background: rgba(161, 43, 147, 0.1);
    color: var(--purple);
}

.feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.feature-card__title {
    font-size: 1.1rem;
    margin-bottom: var(--space-1);
}

.feature-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Module Cards for Revo */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    transition: var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
}

.module-card__badge {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(161, 43, 147, 0.2);
    color: var(--purple);
    border-radius: var(--radius-sm);
}

.module-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(161, 43, 147, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    color: var(--purple);
}

.module-card__icon svg {
    width: 24px;
    height: 24px;
}

.module-card__title {
    font-size: 1.1rem;
    margin-bottom: var(--space-1);
}

.module-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    flex-grow: 1;
}

.module-card__price {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-top: var(--space-2);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.module-card__price strong {
    color: var(--purple);
}

/* Pricing Section */
.pricing {
    background: var(--bg-secondary);
}

.pricing-table {
    display: grid;
    grid-template-columns: 1.3fr 2.7fr;
    gap: var(--space-3);
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--border-hover);
}

.pricing-card--featured {
    border-color: var(--primary-blue);
    position: relative;
}

.pricing-card--featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ai-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.pricing-card__name {
    font-size: 1.25rem;
    margin-bottom: var(--space-1);
}

.pricing-card__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.pricing-card__price {
    margin-bottom: var(--space-3);
}

/* Free tier specific styles */
.pricing-table > .pricing-card:first-child .pricing-card__name {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
}

.pricing-card__subtitle {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.pricing-table > .pricing-card:first-child .pricing-card__desc {
    text-align: center;
}

.pricing-table > .pricing-card:first-child .pricing-card__price {
    text-align: center;
}

.pricing-card__amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-card__period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-card__features {
    list-style: none;
    margin-bottom: var(--space-4);
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: var(--space-1) 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card__features li svg {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
}

.pricing-card__cta {
    width: 100%;
    margin-top: auto;
}

/* Pricing Cards Blur & Coming Soon */
.pricing-cards-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.pricing-cards-blur {
    display: contents;
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.pricing-cards-blur > * {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.coming-soon-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 10;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--space-4) var(--space-6);
    border: 4px solid var(--primary-blue);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 161, 224, 0.3);
    pointer-events: none;
    grid-column: 1 / -1;
}

[data-theme="dark"] .coming-soon-stamp {
    background: rgba(0, 15, 20, 0.9);
    color: var(--ice-blue);
    border-color: var(--ice-blue);
    box-shadow: 0 8px 32px rgba(145, 243, 239, 0.3);
}

/* Pricing Calculator */
.calculator {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.calculator__modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.calculator__module {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.calculator__module.active {
    border-color: var(--purple);
}

.calculator__module-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.calculator__module-name {
    font-weight: 500;
}

.calculator__module-price {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Toggle Switch */
.toggle {
    position: relative;
    width: 48px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle__slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--border-color);
    border-radius: 50px;
    transition: var(--transition-fast);
}

.toggle__slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.toggle input:checked + .toggle__slider {
    background: var(--purple);
}

.toggle input:checked + .toggle__slider::before {
    transform: translateX(22px);
}

.calculator__result {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
}

.calculator__total-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-1);
}

.calculator__total {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--purple);
}

.calculator__total span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.calculator__savings {
    font-size: 0.9rem;
    color: var(--green);
    margin-top: var(--space-1);
}

/* CTA Section */
.cta {
    text-align: center;
    padding: var(--space-12) 0;
}

.cta__content {
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    margin-bottom: var(--space-3);
}

.cta__text {
    font-size: 1.1rem;
    margin-bottom: var(--space-5);
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.theme-toggle__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    background: transparent;
}

.theme-toggle__btn:hover {
    color: var(--text-primary);
}

.theme-toggle__btn.active {
    background: var(--primary-blue);
    color: white;
}

[data-theme="dark"] .theme-toggle__btn.active {
    background: var(--ice-blue);
    color: var(--dark-navy);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-8) 0 var(--space-4);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.footer__brand {
    max-width: 280px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.footer__logo-img {
    width: 32px;
    height: 32px;
}

.footer__logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer__logo-text .inte { color: var(--logo-inte-color); }
.footer__logo-text .nova { color: var(--logo-nova-color); }

.footer__tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.footer__social {
    display: flex;
    gap: var(--space-2);
}

.footer__social-link {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer__social-link:hover {
    background: rgba(0, 161, 224, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.footer__social-link svg {
    width: 16px;
    height: 16px;
}

.footer__column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--space-1);
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer__links a:hover {
    color: var(--primary-blue);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-color);
}

.footer__copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer__legal {
    display: flex;
    gap: var(--space-4);
}

.footer__legal a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer__legal a:hover {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .coming-soon-stamp {
        font-size: 2.5rem;
        padding: var(--space-3) var(--space-5);
    }

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

    .footer__brand {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-8) 0;
    }

    .nav__menu,
    .nav__actions {
        display: none;
    }

    .nav__mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 80px;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .value-props__grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-table {
        grid-template-columns: 1fr;
    }

    .pricing-cards-wrapper {
        grid-template-columns: 1fr;
    }

    .coming-soon-stamp {
        font-size: 2rem;
        padding: var(--space-2) var(--space-4);
    }

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

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

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

    .footer__brand {
        grid-column: span 2;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .product-card__actions {
        flex-direction: column;
    }

    .product-card__actions .btn {
        width: 100%;
    }

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

    .footer__brand {
        grid-column: span 1;
    }

    .footer__legal {
        flex-direction: column;
        gap: var(--space-1);
    }
}

/* Leads Page Styles */
.leads-page {
    min-height: calc(100vh - 200px);
    padding-top: calc(var(--nav-height) + var(--space-6));
    padding-bottom: var(--space-8);
}

/* Login Section */
.leads-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.leads-login__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.leads-login__icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 161, 224, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--primary-blue);
}

.leads-login__icon svg {
    width: 32px;
    height: 32px;
}

.leads-login__card h1 {
    font-size: 1.75rem;
    margin-bottom: var(--space-1);
}

.leads-login__card > p {
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.leads-login__card form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.leads-login__card .form-group input {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.leads-login__card .form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 161, 224, 0.1);
}

.leads-login__card .form-group input::placeholder {
    color: var(--text-muted);
}

.leads-login__card .btn {
    width: 100%;
}

.leads-login__card .form-message {
    font-size: 0.9rem;
    min-height: 1.5em;
}

.leads-login__card .form-message.error {
    color: #ef4444;
}

/* Leads Section */
.leads-section {
    padding-top: var(--space-4);
}

.leads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
    gap: var(--space-3);
}

.leads-header__title h1 {
    font-size: 1.75rem;
    margin-bottom: var(--space-1);
}

.leads-header__title p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.leads-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.leads-per-page {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.leads-per-page select {
    padding: var(--space-1) var(--space-2);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
}

.leads-per-page select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Leads Table */
.leads-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 900px;
}

.leads-table thead {
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 1;
}

.leads-table th {
    padding: var(--space-2) var(--space-3);
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.leads-table td {
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.leads-table tbody tr:last-child td {
    border-bottom: none;
}

.leads-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.leads-table td a {
    color: var(--primary-blue);
    text-decoration: none;
}

.leads-table td a:hover {
    text-decoration: underline;
}

.leads-table__empty {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-6) !important;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: var(--radius-sm);
}

.status-badge--new {
    background: rgba(0, 161, 224, 0.15);
    color: var(--primary-blue);
}

.status-badge--contacted {
    background: rgba(145, 243, 239, 0.15);
    color: var(--ice-blue);
}

[data-theme="light"] .status-badge--contacted {
    background: rgba(0, 150, 136, 0.15);
    color: #00796b;
}

.status-badge--qualified {
    background: rgba(161, 43, 147, 0.15);
    color: var(--purple);
}

.status-badge--converted {
    background: rgba(56, 188, 92, 0.15);
    color: var(--green);
}

.status-badge--closed {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

[data-theme="light"] .status-badge--closed {
    background: rgba(0, 0, 0, 0.08);
}

.status-badge--spam {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Loading State */
.leads-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
    color: var(--text-muted);
}

.leads-loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: var(--space-3);
}

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

/* Error State */
.leads-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
}

.leads-error p {
    color: #ef4444;
    margin-bottom: var(--space-3);
}

/* Pagination */
.leads-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3);
}

.leads-pagination #page-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 120px;
    text-align: center;
}

.leads-pagination .btn {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.leads-pagination .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments for leads page */
@media (max-width: 768px) {
    .leads-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .leads-header__actions {
        width: 100%;
        justify-content: space-between;
    }

    .leads-table-wrapper {
        margin: 0 calc(-1 * var(--space-3));
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .leads-pagination {
        flex-wrap: wrap;
    }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
