/* ============================================
   CLIENT.EXPERT LANDING PAGE STYLES
   A precision-engineered design for CA/CS professionals
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Palette - Deep Slate Blue */
    --primary: #1e3a5f;
    --primary-dark: #152942;
    --primary-light: #e8eef4;

    /* Accent - Warm Amber/Gold */
    --accent: #f7b955;
    --accent-dark: #e5a635;
    --accent-light: #fef3dc;

    /* Semantic Colors */
    --success: #22c55e;
    --success-light: #dcfce7;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;

    /* Neutrals */
    --gray-50: #f9fafb;
    --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;

    /* Typography */
    --font-display: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* 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);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background: #fff;
    overflow-x: hidden;
}

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

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

img, svg {
    display: block;
    max-width: 100%;
}

button, input {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--gray-300);
}

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

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: transparent;
    padding: 0.5rem 1rem;
}

.btn-ghost:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

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

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-lg);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-slow);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-menu-links a {
    padding: var(--space-md);
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.mobile-menu-links a:hover {
    background: var(--gray-100);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 var(--space-4xl);
    overflow: hidden;
}

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

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--gray-200) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 20%, transparent 70%);
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, var(--accent-light) 0%, transparent 60%);
    opacity: 0.6;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1rem;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hero-trust-avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    margin-left: -10px;
    box-shadow: var(--shadow-md);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:nth-child(1) { background: var(--primary); z-index: 5; }
.avatar:nth-child(2) { background: var(--accent); color: var(--gray-900); z-index: 4; }
.avatar:nth-child(3) { background: var(--success); z-index: 3; }
.avatar:nth-child(4) { background: var(--info); z-index: 2; }
.avatar:nth-child(5) { background: var(--gray-300); color: var(--gray-700); z-index: 1; }

.hero-trust p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.hero-trust strong {
    color: var(--gray-900);
}

/* Hero Visual - Dashboard Preview */
.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: var(--danger); }
.dashboard-dots span:nth-child(2) { background: var(--accent); }
.dashboard-dots span:nth-child(3) { background: var(--success); }

.dashboard-title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-500);
}

.dashboard-content {
    padding: var(--space-lg);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.stat-card {
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-card-alert {
    background: var(--danger-light);
}

.stat-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto var(--space-sm);
    padding: 8px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-icon-clients { background: var(--primary-light); color: var(--primary); }
.stat-icon-tasks { background: var(--success-light); color: var(--success); }
.stat-icon-deadline { background: var(--danger-light); color: var(--danger); }

.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.dashboard-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

.timeline-item:hover {
    background: var(--gray-50);
}

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

.timeline-badge svg {
    width: 16px;
    height: 16px;
}

.timeline-success { background: var(--success-light); color: var(--success); }
.timeline-warning { background: var(--warning-light); color: var(--warning); }
.timeline-info { background: var(--info-light); color: var(--info); }

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timeline-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.timeline-meta {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.floating-card svg {
    width: 20px;
    height: 20px;
}

.floating-card-1 {
    top: 10%;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 20%;
    left: -30px;
    animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray-400);
    animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8125rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ============================================
   PAIN POINTS SECTION
   ============================================ */

.pain-points {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.pain-card {
    padding: var(--space-xl);
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--danger);
}

.pain-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pain-icon svg {
    width: 100%;
    height: 100%;
}

.pain-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.pain-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ============================================
   TRANSFORMATION SECTION
   ============================================ */

.transformation {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
}

.transformation-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
}

.transformation-before,
.transformation-after {
    flex: 1;
    max-width: 400px;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    background: #fff;
}

.transformation-after {
    border-color: var(--success);
    background: var(--success-light);
}

.transformation-label {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--gray-200);
    color: var(--gray-600);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.transformation-label-success {
    background: var(--success);
    color: #fff;
}

.chaos-visual,
.order-visual {
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.chaos-svg,
.order-svg {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.transformation-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.transformation-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--gray-600);
}

.transformation-list svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.transformation-list-success li {
    color: var(--gray-800);
}

.transformation-arrow {
    flex-shrink: 0;
}

.transformation-arrow svg {
    width: 60px;
    height: 60px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: var(--space-4xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    padding: var(--space-xl);
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.feature-icon-wrapper {
    width: 72px;
    height: 72px;
    padding: var(--space-md);
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    margin: 0 auto var(--space-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.feature-list {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--gray-700);
    padding-left: 1.25rem;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--primary);
    color: #fff;
}

.how-it-works .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.how-it-works .section-title {
    color: #fff;
}

.how-it-works .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-lg);
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-lg);
    background: var(--accent);
    color: var(--gray-900);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-visual {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-lg);
}

.step-visual svg {
    width: 100%;
    height: 100%;
}

.step h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.step p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.step-connector {
    width: 100px;
    padding-top: 80px;
    flex-shrink: 0;
}

.step-connector svg {
    width: 100%;
    height: auto;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   TEMPLATES SECTION
   ============================================ */

.templates {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

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

.template-card {
    padding: var(--space-lg);
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all var(--transition-base);
}

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

.template-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
}

.template-icon svg {
    width: 100%;
    height: 100%;
}

.template-icon-itr { background: var(--info-light); color: var(--info); }
.template-icon-gst { background: var(--success-light); color: var(--success); }
.template-icon-tds { background: var(--warning-light); color: var(--warning); }
.template-icon-audit { background: var(--primary-light); color: var(--primary); }
.template-icon-company { background: var(--accent-light); color: var(--accent-dark); }
.template-icon-roc { background: var(--danger-light); color: var(--danger); }
.template-icon-incorporation { background: var(--info-light); color: var(--info); }
.template-icon-custom { background: var(--gray-200); color: var(--gray-600); }

.template-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.template-card p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
}

.template-tasks {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.template-card-custom {
    border-style: dashed;
}

.template-card-custom:hover {
    border-color: var(--primary);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    padding: var(--space-4xl) 0;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.pricing-toggle-label {
    font-weight: 500;
    color: var(--gray-600);
}

.pricing-save {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--success-light);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-left: 0.25rem;
}

.pricing-switch {
    position: relative;
    width: 56px;
    height: 28px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    transition: background var(--transition-base);
}

.pricing-slider::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.pricing-switch input:checked + .pricing-slider {
    background: var(--primary);
}

.pricing-switch input:checked + .pricing-slider::before {
    transform: translateX(28px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: stretch;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.pricing-card {
    position: relative;
    padding: var(--space-xl);
    background: #fff;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    transform: translateY(-50%);
    padding: 0.375rem 1rem;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.pricing-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.pricing-price {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--gray-200);
}

.price-currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-600);
    vertical-align: top;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-900);
}

.price-period {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.annual-total {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.annual-total-text {
    font-size: 0.8125rem;
    color: var(--success);
    font-weight: 600;
    font-family: var(--font-display);
}

.annual-amount {
    font-weight: 700;
}

.pricing-features {
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    padding: var(--space-xl);
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info strong {
    display: block;
    font-size: 0.9375rem;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: var(--space-4xl) 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-900);
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--gray-400);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg svg {
    width: 100%;
    height: 100%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: var(--space-md);
}

.cta-content > p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
}

.cta-form {
    display: flex;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
}

.cta-form-vertical {
    flex-direction: column;
    max-width: 400px;
}

.cta-form-row {
    width: 100%;
}

.cta-input,
.cta-select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    outline: none;
    transition: border-color var(--transition-fast);
    background: #fff;
    font-family: inherit;
}

.cta-input:focus,
.cta-select:focus {
    border-color: var(--primary);
}

.cta-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.cta-select option {
    padding: 0.5rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.cta-note svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: var(--space-4xl) 0 var(--space-xl);
    background: var(--gray-900);
    color: var(--gray-400);
}

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

.footer-brand p {
    margin: var(--space-md) 0;
    font-size: 0.9375rem;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.footer-logo .nav-logo-icon {
    width: 32px;
    height: 32px;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

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

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    font-size: 0.9375rem;
    color: #fff;
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: var(--space-lg);
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.footer-badge svg {
    width: 18px;
    height: 18px;
}

.powered-by {
    margin-top: var(--space-lg);
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-align: center;
}

.powered-by a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.powered-by a:hover {
    color: var(--accent);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

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

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

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

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

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

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* Reduce section padding on mobile */
    .pain-points,
    .transformation,
    .features,
    .how-it-works,
    .templates,
    .pricing,
    .testimonials,
    .faq,
    .cta {
        padding: var(--space-2xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-lg);
    }

    /* Compact dashboard preview on mobile */
    .dashboard-preview {
        max-width: 100%;
    }

    .dashboard-content {
        padding: var(--space-sm);
    }

    .dashboard-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xs);
        margin-bottom: var(--space-sm);
    }

    .stat-card {
        padding: var(--space-xs);
    }

    .stat-icon {
        width: 24px;
        height: 24px;
        margin-bottom: var(--space-xs);
        padding: 4px;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.625rem;
    }

    .dashboard-timeline {
        gap: var(--space-xs);
    }

    .timeline-item {
        padding: var(--space-xs);
    }

    .timeline-badge {
        width: 20px;
        height: 20px;
    }

    .timeline-badge svg {
        width: 12px;
        height: 12px;
    }

    .timeline-title {
        font-size: 0.75rem;
    }

    .timeline-meta {
        font-size: 0.625rem;
    }

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

    .nav-mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 var(--space-xl);
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .transformation {
        padding: var(--space-2xl) 0;
    }

    .transformation-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .transformation-before,
    .transformation-after {
        flex: 1 1 calc(50% - var(--space-md));
        min-width: 140px;
        max-width: none;
        padding: var(--space-md);
    }

    .transformation-label {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
    }

    .chaos-visual,
    .order-visual {
        margin-bottom: var(--space-sm);
    }

    .chaos-svg,
    .order-svg {
        width: 100%;
        height: 80px;
    }

    .transformation-list {
        gap: var(--space-xs);
    }

    .transformation-list li {
        font-size: 0.75rem;
        gap: var(--space-xs);
    }

    .transformation-list svg {
        width: 14px;
        height: 14px;
    }

    .transformation-arrow {
        display: none;
    }

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

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

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

    .step-connector {
        transform: rotate(90deg);
        width: 60px;
        padding: 0;
    }

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

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

    .footer {
        padding: var(--space-xl) 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
        margin-bottom: var(--space-lg);
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
        margin: var(--space-sm) 0;
        font-size: 0.875rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links h4 {
        margin-bottom: var(--space-sm);
        font-size: 0.875rem;
    }

    .footer-links ul {
        gap: var(--space-xs);
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
        padding-top: var(--space-lg);
    }

    .footer-bottom p {
        font-size: 0.8125rem;
    }

    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }

    .footer-badge {
        font-size: 0.75rem;
    }

    .floating-card-1,
    .floating-card-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    /* Extra compact dashboard on very small screens */
    .dashboard-header {
        padding: var(--space-xs) var(--space-sm);
    }

    .dashboard-title {
        font-size: 0.6875rem;
    }

    .dashboard-dots span {
        width: 6px;
        height: 6px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .stat-card {
        padding: var(--space-xs);
        display: flex;
        align-items: center;
        gap: var(--space-xs);
        text-align: left;
    }

    .stat-icon {
        width: 20px;
        height: 20px;
        margin: 0;
    }

    .stat-value {
        font-size: 0.875rem;
    }

    .stat-label {
        font-size: 0.5625rem;
    }

    .timeline-item {
        padding: var(--space-xs) 0;
    }

    .timeline-title {
        font-size: 0.6875rem;
    }

    .timeline-meta {
        font-size: 0.5625rem;
    }

    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .template-card {
        padding: var(--space-md);
    }

    .template-card h3 {
        font-size: 0.875rem;
    }

    .template-card p {
        font-size: 0.75rem;
    }

    .template-icon {
        width: 40px;
        height: 40px;
        margin-bottom: var(--space-sm);
    }

    .template-tasks {
        font-size: 0.6875rem;
        padding: 0.2rem 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   ANIMATIONS & INTERACTIONS
   ============================================ */

/* Smooth reveal on scroll (add via JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover states for interactive elements */
.feature-card,
.pain-card,
.template-card,
.testimonial-card {
    will-change: transform;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .nav,
    .hero-scroll-indicator,
    .floating-card,
    .cta,
    .footer {
        display: none;
    }
}

