/* CSS Custom Properties - Dark Mode */
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --primary-glow: rgba(16, 185, 129, 0.3);
    --background: #0a0a0b;
    --background-secondary: #111113;
    --background-card: #18181b;
    --background-elevated: #1f1f23;
    --text: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border: #27272a;
    --border-light: #3f3f46;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-light);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.95);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.nav-logo:hover {
    color: var(--text);
}

.logo-icon {
    display: none;
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 8px;
    margin-right: 6px;
    vertical-align: middle;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-icon-img {
        width: 32px;
        height: 32px;
        max-width: 32px;
        max-height: 32px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--text);
    background: var(--background-card);
}

.nav-link-cta {
    background: var(--primary);
    color: white !important;
    margin-left: 0.5rem;
}

.nav-link-cta:hover {
    background: var(--primary-dark);
    color: white !important;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Sections */
.section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

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

.btn-secondary:hover {
    background: var(--background-elevated);
    border-color: var(--border-light);
    color: var(--text);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.apple-icon {
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    background: var(--background);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text > p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-mockup-back {
    position: absolute;
    right: -30px;
    top: 40px;
    z-index: 1;
    transform: rotateY(-5deg);
    opacity: 0.7;
}

/* Phone Screenshot Styling — clean floating cards */
.phone-screenshot {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 24px;
    border: none;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image .phone-screenshot {
    max-width: 280px;
}

/* Calculator Section */
.calculator {
    background: var(--background-secondary);
    position: relative;
    overflow: hidden;
}

.calc-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

/* Calculator Card (Form Side) */
.calculator-card {
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.4));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(39, 39, 42, 0.8);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}

.calculator-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), transparent 50%, rgba(16, 185, 129, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Card Header */
.calc-card-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.calc-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    color: #fff;
    flex-shrink: 0;
}

.calc-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.calc-card-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.125rem;
}

.label-hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Form */
.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.calc-input-group label svg {
    color: var(--text-muted);
}

.calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-input-prefix {
    position: absolute;
    left: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.calc-input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 600;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.calc-input-wrapper input:hover {
    border-color: var(--border-light);
    background: rgba(10, 10, 11, 0.8);
}

.calc-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow), 0 0 20px rgba(16, 185, 129, 0.1);
    background: rgba(10, 10, 11, 0.9);
}

.calc-input-wrapper input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.calc-input-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    appearance: none;
    -webkit-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='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.calc-input-group select:hover {
    border-color: var(--border-light);
}

.calc-input-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-calc {
    margin-top: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.1);
}

.btn-calc:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35), 0 0 0 1px rgba(16, 185, 129, 0.2);
    filter: brightness(1.1);
}

.btn-calc:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

.btn-calc svg {
    flex-shrink: 0;
}

/* Calculator Results */
.calculator-results {
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.4));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(39, 39, 42, 0.8);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.calculator-results::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, rgba(16, 185, 129, 0.15), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Placeholder State */
.results-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    gap: 0.75rem;
    padding: 2rem 1rem;
}

.placeholder-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.placeholder-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(16, 185, 129, 0.2);
    animation: placeholder-spin 20s linear infinite;
}

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

.results-placeholder p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.placeholder-hint {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    opacity: 0.6;
}

/* Results Content */
.results-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: results-fade-in 0.4s ease;
}

@keyframes results-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-main {
    text-align: center;
    padding: 0.5rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
    position: relative;
}

.result-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.result-value {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.result-period {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-top: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Breakdown */
.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    margin-bottom: 1.5rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(39, 39, 42, 0.5);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

[data-color="federal"] .breakdown-dot { background: #6366f1; box-shadow: 0 0 8px rgba(99, 102, 241, 0.4); }
[data-color="state"] .breakdown-dot { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }
[data-color="fica"] .breakdown-dot { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.4); }

.breakdown-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
}

.breakdown-value {
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
}

.breakdown-total {
    padding-top: 0.875rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--border);
    border-bottom: none;
}

.breakdown-total .breakdown-label {
    font-weight: 600;
    color: var(--text);
}

.breakdown-rate {
    font-size: 1rem;
    color: var(--primary) !important;
    font-weight: 800;
}

/* Results Teaser */
.results-teaser {
    margin-top: auto;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 10, 11, 0.8), rgba(10, 10, 11, 0.5));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    overflow: hidden;
}

.teaser-blur {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    filter: blur(4px);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.teaser-item {
    height: 1rem;
    background: linear-gradient(90deg, var(--border) 30%, transparent 70%);
    border-radius: 4px;
}

.teaser-item:nth-child(2) { width: 80%; }
.teaser-item:nth-child(3) { width: 60%; }

.teaser-cta {
    text-align: center;
}

.teaser-cta p {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.teaser-cta span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* Calculator loading state */
.calc-form.loading .btn-calc {
    pointer-events: none;
    opacity: 0.7;
}

.calc-form.loading .btn-calc svg {
    display: none;
}

.calc-form.loading .btn-calc::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Calculator responsive */
@media (max-width: 768px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calc-row {
        grid-template-columns: 1fr;
    }

    .result-value {
        font-size: 2.25rem;
    }

    .calc-card-header {
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }
}

/* Features Section */
.features {
    background: var(--background-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
}

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

.feature-card {
    background: var(--background-card);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-screenshot {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    display: flex;
    justify-content: center;
    padding: 0;
}

.feature-card:hover .feature-screenshot {
    max-height: 350px;
    opacity: 1;
    padding-top: 1.5rem;
}

.feature-screenshot .phone-screenshot {
    max-width: 140px;
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about {
    background: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text > p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.about-feature svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--text);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Download Section */
.download {
    background: var(--background-secondary);
    text-align: center;
}

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

.download-content h2 {
    margin-bottom: 1rem;
}

.download-content > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.download-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    scroll-snap-align: end;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.footer-logo:hover {
    color: var(--text);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

    .hero-content {
        gap: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: y proximity;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--background);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    .nav-link-cta {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .section {
        min-height: auto;
        padding: calc(var(--nav-height) + 3rem) 0 3rem;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-image {
        order: -1;
    }

    .phone-mockup-back {
        display: none;
    }

    .hero-image .phone-screenshot {
        max-width: 250px;
    }

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

    .feature-screenshot .phone-screenshot {
        max-width: 120px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
        scroll-snap-type: none;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* How It Works */
.how-it-works { background: var(--background); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card { text-align: center; padding: 2.5rem 2rem; background: var(--background-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all 0.3s ease; }
.step-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 50%; font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 1.5rem; }
.step-card h3 { margin-bottom: 0.75rem; }

/* Full Features List */
.full-features { background: var(--background-secondary); }
.feature-list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.feature-list-column h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.feature-list { list-style: none; }
.feature-list li { position: relative; padding-left: 1.25rem; margin-bottom: 0.625rem; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 0.85rem; }

/* Reviews Grid */
.reviews { background: var(--background); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Download Section */
.download { background: var(--background-secondary); text-align: center; }
.download-content { max-width: 600px; margin: 0 auto; }
.download-content h2 { margin-bottom: 1rem; }
.download-content > p { font-size: 1.125rem; margin-bottom: 2rem; }
.download-note { margin-top: 1rem; font-size: 0.875rem; color: var(--text-muted); }

/* Responsive additions */
@media (max-width: 1024px) { .feature-list-grid { grid-template-columns: repeat(2, 1fr); } .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } .feature-list-grid { grid-template-columns: 1fr; } .reviews-grid { grid-template-columns: 1fr; } }

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item[open] {
    border-color: var(--primary);
}

.faq-question {
    padding: 22px 28px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    gap: 16px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 1rem;
}

/* State Calculator Grid */
.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    max-width: 1000px;
    margin: 0 auto;
}

.state-link {
    display: block;
    padding: 12px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: border-color 0.2s, transform 0.1s, background 0.2s;
    text-align: center;
}

.state-link:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

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