/* ==========================================================================
   Next Step English — Stylesheet
   Palette: navy blue, white, light gray, gold accent
   ========================================================================== */

:root {
    --navy-900: #0a1f44;
    --navy-800: #122c5e;
    --navy-700: #1a3a7a;
    --navy-600: #2347a0;
    --navy-500: #2e5bbd;
    --navy-50: #eef3fb;
    --gold: #f5b800;
    --gold-light: #ffd34d;
    --white: #ffffff;
    --gray-50: #f7f9fc;
    --gray-100: #eef1f6;
    --gray-200: #dfe4ec;
    --gray-400: #8b95a7;
    --gray-600: #4a5568;
    --gray-800: #1f2937;
    --text: #1a2238;
    --shadow-sm: 0 2px 6px rgba(10, 31, 68, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 31, 68, 0.10);
    --shadow-lg: 0 20px 50px rgba(10, 31, 68, 0.18);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; }

/* ===== Section header ===== */
.section-header { text-align: center; max-width: 740px; margin: 0 auto 60px; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-600);
    background: var(--navy-50);
    padding: 6px 16px;
    border-radius: 999px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-eyebrow--light { color: var(--gold-light); background: rgba(255,255,255,0.08); }
.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.section-title--light { color: var(--white); }
.section-title .accent { color: var(--navy-600); }
.section-title--light .accent { color: var(--gold); }
.section-lead { margin-top: 16px; color: var(--gray-600); font-size: 1.05rem; }
.section-lead--light { color: rgba(255,255,255,0.85); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--navy-700);
    color: var(--white);
    border-color: var(--navy-700);
    box-shadow: 0 8px 20px rgba(26, 58, 122, 0.35);
}
.btn-primary:hover { background: var(--navy-900); border-color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26, 58, 122, 0.45); }
.btn-outline {
    background: transparent;
    color: var(--navy-700);
    border-color: var(--navy-700);
}
.btn-outline:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-large { padding: 18px 32px; font-size: 1.05rem; }

/* ===== Header / Nav ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--gray-200);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy-900);
    letter-spacing: -0.01em;
}
.logo-icon {
    background: var(--navy-700);
    color: var(--white);
    width: 36px; height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.logo--light { color: var(--white); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
    padding: 8px 16px;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all var(--transition);
}
.main-nav a:hover { color: var(--navy-700); background: var(--navy-50); }
.main-nav .nav-cta {
    background: var(--navy-700);
    color: var(--white);
    padding: 10px 20px;
    margin-left: 8px;
}
.main-nav .nav-cta:hover { background: var(--navy-900); color: var(--white); }
.nav-toggle { display: none; font-size: 1.4rem; color: var(--navy-900); padding: 8px; }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #f8faff 0%, #eef3fb 50%, #e3eaf7 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(46,91,189,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,184,0,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--navy-700);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.hero-tagline i { color: var(--gold); }
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--navy-900);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    font-weight: 500;
}
.hero-subtitle .accent { color: var(--navy-700); font-weight: 700; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.badge-experience, .badge-traits {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.badge-experience i, .badge-traits i {
    font-size: 1.6rem;
    color: var(--gold);
    background: rgba(245,184,0,0.12);
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.badge-traits i { color: var(--navy-700); background: var(--navy-50); }
.badge-experience strong, .badge-traits strong {
    display: block;
    color: var(--navy-900);
    font-size: 0.95rem;
}
.badge-experience span, .badge-traits span {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-600);
}

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1.05;
}
.hero-image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    border-radius: var(--radius-xl);
    transform: rotate(-3deg);
    box-shadow: var(--shadow-lg);
}
.hero-illustration {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-size: 11rem;
}
.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    font-weight: 700;
    color: var(--navy-900);
    z-index: 2;
}
.card-focus {
    top: 30px;
    right: -10px;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
    line-height: 1.6;
}
.card-focus span:nth-child(2) { color: var(--navy-600); }
.card-focus span:nth-child(3) { color: var(--gold); }
.card-online {
    bottom: 40px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-online i { color: var(--navy-600); font-size: 1.2rem; }

/* ===== Services ===== */
.services { background: var(--white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all var(--transition);
    position: relative;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card--highlight {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}
.service-icon {
    width: 60px; height: 60px;
    background: var(--navy-50);
    color: var(--navy-700);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
}
.service-card--highlight .service-icon {
    background: rgba(255,255,255,0.15);
    color: var(--gold);
}
.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 12px;
    line-height: 1.3;
}
.service-card--highlight h3 { color: var(--white); }
.service-card p { color: var(--gray-600); margin-bottom: 20px; }
.service-card--highlight p { color: rgba(255,255,255,0.85); }
.service-features { list-style: none; }
.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.92rem;
    color: var(--gray-800);
}
.service-card--highlight .service-features li { color: rgba(255,255,255,0.95); }
.service-features i {
    color: var(--navy-600);
    font-size: 0.8rem;
    background: var(--navy-50);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.service-card--highlight .service-features i {
    color: var(--navy-900);
    background: var(--gold);
}

/* ===== Features strip ===== */
.features-strip {
    background: var(--navy-50);
    padding: 50px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}
.features-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}
.feature-icon {
    width: 56px; height: 56px;
    background: var(--navy-700);
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.feature-text h4 { font-size: 1rem; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.feature-text p { font-size: 0.88rem; color: var(--gray-600); }
.feature-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-200);
}

/* ===== Pricing ===== */
.pricing {
    background: var(--gray-50);
    position: relative;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.price-card--featured {
    background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    border-color: transparent;
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}
.price-card--featured:hover { transform: scale(1.04) translateY(-6px); }
.featured-flag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy-900);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}
.price-card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.price-card-head i {
    font-size: 2rem;
    color: var(--navy-700);
    background: var(--navy-50);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
}
.price-card--featured .price-card-head i {
    color: var(--gold);
    background: rgba(255,255,255,0.12);
}
.price-card-head h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.price-card--featured .price-card-head h3 { color: var(--white); }
.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}
.price-amount .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-700);
}
.price-card--featured .price-amount .currency { color: var(--gold); }
.price-amount .value {
    font-size: 3.6rem;
    font-weight: 900;
    color: var(--navy-900);
    line-height: 1;
    letter-spacing: -0.03em;
}
.price-card--featured .price-amount .value { color: var(--white); }
.price-period {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 18px;
}
.price-card--featured .price-period { color: rgba(255,255,255,0.75); }
.price-tag {
    background: var(--navy-50);
    color: var(--navy-700);
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 24px;
}
.price-card--featured .price-tag {
    background: rgba(255,255,255,0.1);
    color: var(--gold-light);
}
.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
    flex: 1;
}
.price-features li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-card--featured .price-features li { color: rgba(255,255,255,0.92); }
.price-features i { color: var(--navy-600); }
.price-card--featured .price-features i { color: var(--gold); }
.price-card .btn-outline { color: var(--navy-700); border-color: var(--navy-700); }
.price-card--featured .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-900);
    box-shadow: 0 8px 20px rgba(245,184,0,0.35);
}
.price-card--featured .btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}
.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--gray-600);
    font-size: 0.95rem;
    background: var(--white);
    padding: 14px 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    margin-left: 50%;
    transform: translateX(-50%);
}
.pricing-note i { color: var(--navy-600); }

/* ===== Why + Payments ===== */
.features { background: var(--white); }
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.why-list { list-style: none; margin-top: 28px; }
.why-list li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-100);
}
.why-list li:last-child { border-bottom: none; }
.why-list i {
    color: var(--white);
    background: var(--navy-700);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 4px;
}
.why-list strong {
    display: block;
    color: var(--navy-900);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.why-list span { color: var(--gray-600); font-size: 0.92rem; }

.payments-block {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}
.payments-lead { color: var(--gray-600); margin: 14px 0 24px; }
.payments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.payment-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.payment-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.payment-logo {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.02em;
}
.payment-logo.wise { color: #163300; }
.payment-logo.wise i { color: #9fe870; }
.payment-logo.paypal { color: #003087; }
.payment-logo.paypal i { color: #009cde; font-size: 1.6rem; }
.payment-item p { color: var(--gray-600); font-size: 0.85rem; }
.payments-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--navy-700);
    font-weight: 600;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* ===== Contact ===== */
.contact {
    background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,184,0,0.1), transparent 70%);
    border-radius: 50%;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.contact-form-wrap {
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.trial-form h3 {
    font-size: 1.4rem;
    color: var(--navy-900);
    margin-bottom: 24px;
    font-weight: 800;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}
.form-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: all var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--navy-600);
    box-shadow: 0 0 0 4px rgba(35,71,160,0.08);
}
.form-field textarea { resize: vertical; }
.form-message {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    display: none;
}
.form-message.success {
    display: block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 0;
    overflow: hidden;
}
.form-message.error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Success box with mailto button */
.success-box {
    padding: 20px;
}
.success-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}
.success-top i {
    font-size: 1.8rem;
    color: #047857;
    flex-shrink: 0;
    margin-top: 2px;
}
.success-top strong {
    font-size: 1rem;
    color: #047857;
    display: block;
    margin-bottom: 4px;
}
.success-top span {
    font-size: 0.9rem;
    color: #065f46;
}
.mailto-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0a1f44 0%, #1a3a7a 60%, #2347a0 100%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(10,31,68,0.5), 0 0 0 2px #f5b800 !important;
    border: none !important;
    outline: 3px solid #f5b800;
    outline-offset: 0px;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    margin: 6px 0 10px;
    cursor: pointer;
}
.mailto-btn * { color: #ffffff !important; }
.mailto-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: btn-shine 2.5s infinite;
}
.mailto-btn:hover {
    background: linear-gradient(135deg, #060f25, #0a1f44) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10,31,68,0.6), 0 0 0 2px #ffd34d !important;
    outline-color: #ffd34d;
}
.mailto-btn:active { transform: translateY(1px); }
.mailto-btn i { font-size: 1.2rem; color: #f5b800 !important; }
@keyframes btn-shine {
    0%   { left: -100%; }
    60%, 100% { left: 150%; }
}
.mailto-note {
    margin-top: 12px;
    font-size: 0.82rem;
    color: #065f46;
    text-align: center;
}
.mailto-note strong { color: #047857; }

/* Email reminder box */
.email-reminder {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: #92400e;
    line-height: 1.5;
}
.email-reminder i { color: #f59e0b; flex-shrink: 0; margin-top: 2px; }
.email-reminder strong { color: #b45309; }

/* Email copy row */
.email-copy-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1px dashed #86efac;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #166534;
    flex-wrap: wrap;
}
.email-copy-val {
    font-size: 0.95rem;
    color: #047857;
    word-break: break-all;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 8px 24px rgba(26,58,122,0.45), 0 0 0 0 rgba(245,184,0,0.4); }
    50%       { box-shadow: 0 10px 30px rgba(26,58,122,0.55), 0 0 0 6px rgba(245,184,0,0); transform: translateY(-2px); }
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.contact-card h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-card h3 i { color: var(--gold); }
.qr-placeholder { text-align: center; padding: 8px 0; }

/* Crop wrapper: hides top (profile pic+name) and bottom (text) of WeChat card */
.qr-crop-wrap {
    width: 190px;
    height: 190px;
    overflow: hidden;
    border-radius: 16px;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-md);
    margin: 0 auto 14px;
    background: var(--white);
    position: relative;
}
/* The full card image is shifted up so only the QR square shows */
.qr-crop-img {
    width: 220px;          /* slightly wider than wrapper to fill edges */
    height: auto;
    display: block;
    margin-left: -15px;    /* center horizontally */
    margin-top: -52px;     /* shift up to skip profile pic & name (~13% of card) */
}

.qr-img-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto 14px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qr-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}
.qr-svg-wrap {
    width: 100%;
    height: 100%;
    padding: 8px;
    background: white;
}
.qr-pattern {
    width: 160px;
    height: 160px;
    margin: 0 auto 14px;
    background:
        repeating-linear-gradient(0deg, var(--navy-900) 0 4px, transparent 4px 8px),
        repeating-linear-gradient(90deg, var(--navy-900) 0 4px, transparent 4px 8px),
        var(--white);
    border-radius: 12px;
    border: 8px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.qr-pattern i {
    font-size: 3rem;
    color: #07c160;
    background: var(--white);
    width: 70px; height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.qr-placeholder p {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 0.95rem;
}
.contact-note {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 8px;
}
.next-steps { list-style: none; }
.next-steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
}
.next-steps li span {
    background: var(--gold);
    color: var(--navy-900);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
    background: #050f25;
    color: rgba(255,255,255,0.75);
    padding: 70px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-brand p { margin-top: 14px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 18px;
    font-weight: 700;
}
.footer-links a, .footer-links p {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-links i { color: var(--gold); margin-right: 6px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ===== Sticky CTA ===== */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    padding: 14px 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(10,31,68,0.4);
    z-index: 90;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 500;
    font-size: 0.95rem;
    border: 2px solid rgba(245,184,0,0.3);
}
.sticky-cta.visible { transform: translateX(-50%) translateY(0); }
.sticky-cta:hover { background: var(--navy-900); border-color: var(--gold); }
.sticky-cta strong { color: var(--gold); }
.sticky-cta i { font-size: 1rem; }

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
    .services-grid, .pricing-grid { grid-template-columns: 1fr; }
    .price-card--featured { transform: scale(1); }
    .price-card--featured:hover { transform: translateY(-6px); }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .features-grid { flex-direction: column; gap: 24px; }
    .feature-divider { display: none; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform var(--transition);
        border-top: 1px solid var(--gray-200);
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav a { padding: 12px 16px; }
    .main-nav .nav-cta { margin: 8px 0 0; text-align: center; }
    .nav-toggle { display: block; }
    .hero { padding: 110px 0 60px; }
    .hero-cta { width: 100%; }
    .hero-cta .btn { flex: 1; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row .form-field { margin-bottom: 18px; }
    .payments-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 22px; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
    .sticky-cta { font-size: 0.85rem; padding: 12px 18px; }
    .sticky-cta span strong { display: inline; }
    .pricing-note { margin-left: 0; transform: none; display: flex; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2.2rem; }
    .hero-badges { flex-direction: column; }
    .badge-experience, .badge-traits { width: 100%; }
    .hero-image-wrap { max-width: 280px; }
    .hero-illustration { font-size: 7rem; }
    .floating-card { font-size: 0.8rem; padding: 10px 14px; }
}
