/* ============================================
   iTrading Buddy — Promotional Website Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
    --navy-dark: #0D1B2A;
    --navy: #1B2838;
    --indigo: #1A237E;
    --purple: #7C3AED;
    --green: #00C853;
    --red: #FF1744;
    --white: #FFFFFF;
    --gray-100: #F7F8FA;
    --gray-200: #E8ECF1;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

/* --- Typography --- */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    font-size: 1.05rem;
    color: var(--gray-600);
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-400); }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--navy-dark);
    color: var(--white);
}

.section-light {
    background-color: var(--gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.15rem;
}

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

/* --- Grid --- */
.grid {
    display: grid;
    gap: 24px;
}

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

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

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

@media (min-width: 480px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 24px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.nav-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--green), var(--purple));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.nav-logo .logo-icon-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

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

.nav-links a {
    color: var(--gray-300);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    border-radius: 1px;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-base);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.1rem;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--indigo) 100%);
    padding: 100px 0 80px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--green), #4ADE80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--gray-300);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-small {
    padding: 72px 0 56px;
    min-height: auto;
}

.hero-small h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.hero-small p {
    margin-bottom: 0;
}

/* Glowing chart line animation */
.hero-chart-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    overflow: hidden;
}

.hero-chart-bg svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
}

.chart-line {
    fill: none;
    stroke: var(--green);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.6));
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawChart 3s ease-out forwards;
}

.chart-line-glow {
    fill: none;
    stroke: var(--green);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.2;
    filter: blur(6px);
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawChart 3s ease-out forwards;
}

.chart-area {
    opacity: 0;
    animation: fadeArea 1s ease-out 2.5s forwards;
}

@keyframes drawChart {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeArea {
    to {
        opacity: 0.15;
    }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.chart-line-glow {
    animation: drawChart 3s ease-out forwards, glowPulse 2s ease-in-out 3s infinite;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green), #00E676);
    color: var(--navy-dark);
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 200, 83, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-dark {
    background: var(--navy-dark);
    color: var(--white);
}

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

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* App Store badge style */
.btn-appstore {
    background: var(--white);
    color: var(--navy-dark);
    border-radius: var(--radius-md);
    padding: 12px 28px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-appstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-appstore .apple-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.btn-appstore .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-appstore .btn-text-small {
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-appstore .btn-text-large {
    font-size: 1.15rem;
    font-weight: 600;
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

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

.feature-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.icon-green {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.12), rgba(0, 200, 83, 0.06));
    color: var(--green);
}

.icon-purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(124, 58, 237, 0.06));
    color: var(--purple);
}

.icon-indigo {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.12), rgba(26, 35, 126, 0.06));
    color: var(--indigo);
}

.icon-red {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.12), rgba(255, 23, 68, 0.06));
    color: var(--red);
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--gray-900);
}

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

/* Dark feature cards */
.feature-card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-card-dark h3 {
    color: var(--white);
}

.feature-card-dark p {
    color: var(--gray-400);
}

/* ============================================
   Screenshots / Phone Mockup
   ============================================ */
.phone-mockup {
    width: 260px;
    height: 520px;
    background: var(--gray-900);
    border-radius: 36px;
    border: 4px solid var(--gray-700);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: var(--gray-900);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-mockup-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--navy-dark), var(--navy));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 16px;
}

.phone-mockup-screen .mock-stock {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-stock .stock-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
}

.mock-stock .stock-price {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--green);
}

.mock-stock .stock-price.red {
    color: var(--red);
}

.screenshots-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 0;
}

/* Phone frame for real screenshots */
.phone-frame {
    width: 260px;
    flex-shrink: 0;
    position: relative;
    border-radius: 36px;
    border: 4px solid var(--gray-700);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--gray-900);
}

.phone-frame-hero {
    width: 280px;
    transform: translateY(-12px);
}

.phone-frame .phone-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
}

/* ============================================
   Pricing Table
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.pricing-card.featured {
    border-color: var(--green);
    box-shadow: 0 0 0 1px var(--green), var(--shadow-lg);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--green), #00E676);
    color: var(--navy-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
}

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

.pricing-card .plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.pricing-card .plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.pricing-card .plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-card .plan-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.pricing-card .feature-list {
    margin-bottom: 32px;
}

.pricing-card .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.pricing-card .feature-list li .check {
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .feature-list li .cross {
    color: var(--gray-400);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .feature-list li.disabled {
    color: var(--gray-400);
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 48px;
    font-size: 0.95rem;
}

.comparison-table thead th {
    padding: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
    border-bottom: 2px solid var(--gray-200);
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
    color: var(--gray-700);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table .check-icon {
    color: var(--green);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .cross-icon {
    color: var(--gray-300);
    font-size: 1.1rem;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--green);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray-400);
    transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

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

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

.faq-answer-inner {
    padding-bottom: 20px;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-dark .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .faq-question {
    color: var(--white);
}

.section-dark .faq-answer-inner {
    color: var(--gray-400);
}

/* ============================================
   Feature Detail Sections (alternating)
   ============================================ */
.feature-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px 0;
}

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

    .feature-detail.reverse .feature-detail-text {
        order: 2;
    }

    .feature-detail.reverse .feature-detail-visual {
        order: 1;
    }
}

.feature-detail-text h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.feature-detail-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.feature-detail-text ul {
    margin-top: 12px;
}

.feature-detail-text ul li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.feature-detail-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

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

.feature-visual-box {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-dark), var(--indigo));
    padding: 64px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--gray-300);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--navy-dark);
    color: var(--gray-400);
    padding: 56px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .nav-logo {
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================
   Contact / Support Form
   ============================================ */
.contact-form {
    max-width: 560px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* ============================================
   Legal / Privacy / Terms
   ============================================ */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 0;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 1.15rem;
    color: var(--gray-800);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 14px;
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 14px;
    padding-left: 24px;
}

.legal-content ul li {
    position: relative;
    padding: 4px 0;
    padding-left: 16px;
    color: var(--gray-600);
    font-size: 1rem;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-400);
}

.legal-content strong {
    color: var(--gray-800);
}

.legal-content a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--purple);
}

.legal-effective-date {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-style: italic;
    margin-bottom: 32px;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger > * {
    transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ============================================
   Utility
   ============================================ */
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */
@media (max-width: 480px) {
    .section {
        padding: 48px 0;
    }

    .hero {
        padding: 64px 0 48px;
        min-height: auto;
    }

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

    .pricing-card {
        padding: 28px 20px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .phone-frame {
        width: 200px;
    }

    .phone-frame-hero {
        width: 220px;
        transform: none;
    }

    .screenshots-row {
        gap: 16px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .section {
        padding: 100px 0;
    }

    .hero {
        padding: 120px 0 100px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 24px;
    }
}
