/* ============================================
   JIGO Corgi-Inspired Landing Page
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    transition: color 0.3s ease;
}

.nav.scrolled .nav-logo {
    color: #1a1a2e;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav.scrolled .nav-link {
    color: #64748b;
}

.nav.scrolled .nav-link:hover {
    color: #1a1a2e;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25);
}

.nav.scrolled .nav-cta {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.nav.scrolled .nav-cta:hover {
    background: #2d2d44;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-mobile-toggle svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.nav.scrolled .nav-mobile-toggle svg {
    color: #1a1a2e;
}

/* --- Nav dropdown (Products) --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-arrow {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 200px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
}

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

.nav-dropdown-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a2e;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-item:hover {
    background: rgba(26, 26, 46, 0.06);
    color: #0f0f1e;
}

.nav-dropdown-item-from {
    font-size: 0.7rem;
    font-weight: 500;
    color: #666;
    text-transform: lowercase;
}

.nav-dropdown-item:hover .nav-dropdown-item-from {
    color: #555;
}

.nav-dropdown-item-flag {
    font-size: 1rem;
    line-height: 1;
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    flex-shrink: 0;
}

.nav-dropdown-item-title {
    display: block;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 100px;
    overflow: hidden;
    background: #0f0f1e;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(253, 194, 15, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(253, 194, 15, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* Dot shader canvas overlay - animated dot grid on dark sections */
.dot-shader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: auto;
    /* CSS fallback dot grid when JS/WebGL fails */
    background-image: radial-gradient(rgba(253, 194, 15, 0.2) 1px, transparent 1px);
    background-size: 24px 24px;
}
.hero .dot-shader-canvas {
    background-image: radial-gradient(rgba(253, 194, 15, 0.25) 1px, transparent 1px);
}
.logos-section .dot-shader-canvas,
.how-section .dot-shader-canvas {
    background-image: radial-gradient(rgba(148, 163, 184, 0.25) 1px, transparent 1px);
}
.packages-section .dot-shader-canvas,
.features-section .dot-shader-canvas,
.book-section .dot-shader-canvas {
    background-image: radial-gradient(rgba(203, 213, 225, 0.3) 1px, transparent 1px);
}
.testimonials-section .dot-shader-canvas,
.final-cta .dot-shader-canvas {
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
}
.footer .dot-shader-canvas {
    display: none;
}
.hero .container,
.logos-section .container,
.packages-section .container,
.how-section .container,
.features-section .container,
.testimonials-section .container,
.final-cta .container,
.footer .container,
.book-section .container,
.book-hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.rotating-text {
    display: inline-block;
    color: #FDC20F;
}

.typewriter-cursor {
    display: inline;
    margin-left: 1px;
    color: #FDC20F;
    font-weight: 700;
    animation: typewriter-blink 0.7s step-end infinite;
}

@keyframes typewriter-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-title-emphasis {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: #FDC20F;
}

.hero-title-period {
    color: #fff;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 19.6px;
    margin-bottom: 40px;
    font-weight: 400;
    vertical-align: bottom;
}

.hero-search {
    display: flex;
    align-items: stretch;
    max-width: 520px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease;
}

.hero-search:focus-within {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
}

.hero-search-input {
    flex: 1;
    min-width: 0;
    padding: 16px 20px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a2e;
    background: transparent;
}

.hero-search-input::placeholder {
    color: #64748b;
}

.hero-search-input:focus {
    outline: none;
}

.hero-search-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 11px;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    color: #1a1a2e;
    background: #FDC20F;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.hero-search-btn:hover {
    background: #e6ad0a;
}

.hero-search-btn:active {
    opacity: 0.9;
}

/* --- Hero: ChatGPT-style session (pill / AI chat bar) --- */
.hero-chat {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
}

.hero-chat-prompt-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0;
}

.hero .hero-chat-prompt-heading {
    color: rgba(255, 255, 255, 0.95);
}

.hero-search--pill {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    min-height: 56px;
    padding: 6px 6px 6px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search--pill:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-chat-add,
.hero-chat-mic {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
}

.hero-chat-add:hover,
.hero-chat-mic:hover {
    color: #1a1a2e;
    background: rgba(0, 0, 0, 0.04);
}

.hero-search--pill .hero-search-input--chat {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #1a1a2e;
}

.hero-search--pill .hero-search-input--chat::placeholder {
    color: #94a3b8;
}

.hero-search--pill .hero-search-input--chat:focus {
    outline: none;
}

.hero-chat-send {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #000;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-chat-send:hover {
    background: #1a1a1a;
    transform: scale(1.02);
}

.hero-chat-send:active {
    transform: scale(0.98);
}

.hero-chat-send svg {
    flex-shrink: 0;
}

.hero-search--chat {
    border-radius: 16px;
    overflow: hidden;
    align-items: flex-end;
    min-height: 56px;
}

.hero-search-input--chat {
    resize: none;
    min-height: 52px;
    max-height: 120px;
    padding: 16px 20px;
    line-height: 1.5;
}

.hero-search-input--chat::placeholder {
    color: #94a3b8;
}

.hero-search--chat:not(.hero-search--pill) .hero-search-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
    margin: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search--chat:not(.hero-search--pill) .hero-search-btn svg {
    flex-shrink: 0;
}

.hero-chat-hint {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

.hero-chat-talk {
    margin-top: 6px;
}

.hero-chat-note {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-chat-link {
    color: #FDC20F;
    text-decoration: none;
    margin-left: 2px;
}

.hero-chat-link:hover {
    text-decoration: underline;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.meta-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* --- Social Proof --- */
.logos-section {
    position: relative;
    background: #fff;
    padding: 48px 0;
    border-bottom: 1px solid #f1f5f9;
}

.logos-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}

.logos-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logos-marquee-inner {
    display: flex;
    width: max-content;
    animation: logos-scroll 40s linear infinite;
}

.logos-marquee-inner:hover {
    animation-play-state: paused;
}

@keyframes logos-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .logos-marquee-inner {
        animation: none;
        justify-content: center;
    }
    .logos-marquee-inner .logos-track:last-child {
        display: none;
    }
}

.logos-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-shrink: 0;
    padding: 0 24px;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.logo-item img {
    max-height: 36px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    mix-blend-mode: luminosity;
}

.logo-item--naver {
    height: 56px;
}
.logo-item--naver img {
    max-height: 52px;
    max-width: 180px;
}

.logo-item--invert img {
    filter: grayscale(1) invert(1);
}

/* --- Section Base --- */
.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #64748b;
    font-weight: 400;
    max-width: 540px;
    margin: 0 auto;
}

/* --- Value quote --- */
.quote-section {
    position: relative;
    padding: 64px 0;
    background: linear-gradient(180deg, #fefce8 0%, #fafbfc 100%);
    overflow: hidden;
}

.quote-section .dot-shader-canvas {
    background-image: radial-gradient(rgba(253, 194, 15, 0.2) 1px, transparent 1px);
}

.quote-block {
    margin: 0;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.quote-text {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    font-style: italic;
    color: #1a1a2e;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.quote-text::before {
    content: "“";
    margin-right: 0.05em;
}

.quote-text::after {
    content: "”";
    margin-left: 0.05em;
}

/* --- Packages --- */
.packages-section {
    position: relative;
    background: #fafbfc;
}

/* Book a call page - match main site sections */
.book-hero {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f1e;
    overflow: hidden;
}
.book-hero .hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(253, 194, 15, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(253, 194, 15, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.book-hero .dot-shader-canvas {
    background-image: radial-gradient(rgba(253, 194, 15, 0.25) 1px, transparent 1px);
}
.book-section {
    position: relative;
    background: #fafbfc;
    overflow: hidden;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.package-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.package-card:hover {
    border-color: #FDC20F;
    box-shadow: 0 8px 24px rgba(253, 194, 15, 0.15);
    transform: translateY(-4px);
}

.package-label {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #b8860b;
    background: #fef9e7;
    padding: 4px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.package-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.package-for {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.package-divider {
    height: 1px;
    background: #f1f5f9;
    margin-bottom: 16px;
}

.package-includes-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.package-list {
    flex: 1;
    margin-bottom: 20px;
}

.package-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
}

.package-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FDC20F;
}

.package-cta {
    display: block;
    text-align: center;
    padding: 12px 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #b8860b;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.package-cta:hover {
    background: #FDC20F;
    color: #1a1a2e;
    border-color: #FDC20F;
}

.packages-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

/* --- Testimonials --- */
.testimonials-section {
    position: relative;
    background: #0f0f1e;
    overflow: hidden;
}

.testimonials-section .section-title {
    color: #fff;
}

.testimonials-track-wrapper {
    overflow: hidden;
    margin: 0 -24px;
    padding: 0 24px;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    animation: scrollTestimonials 35.7s linear infinite;
    width: max-content;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 28px;
    min-width: 360px;
    max-width: 360px;
    flex-shrink: 0;
}

.testimonial-quote {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.author-avatar--photo {
    padding: 0;
    overflow: hidden;
}
.author-avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.author-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- How It Works --- */
.how-section {
    position: relative;
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 24px 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border: 2px solid #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* --- Features --- */
.features-section {
    position: relative;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
}

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

.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: #a78bfa;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #6366f1;
}

.feature-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* --- Final CTA --- */
.final-cta {
    position: relative;
    background: #0f0f1e;
    padding: 100px 0;
    text-align: center;
}

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

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
}

.cta-form {
    margin-bottom: 16px;
}

/* CTA section: use same pill chat design as hero */
.final-cta .hero-chat {
    margin-top: 0;
}

.cta-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.cta-input-group:focus-within {
    border-color: rgba(167, 139, 250, 0.5);
}

.cta-input-group input {
    flex: 1;
    padding: 16px 20px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #fff;
    background: transparent;
    border: none;
    outline: none;
}

.cta-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta-input-group button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    color: #1a1a2e;
    background: #fff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.cta-input-group button:hover {
    background: #f1f5f9;
}

.cta-input-group button svg {
    width: 18px;
    height: 18px;
}

.cta-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Footer --- */
.footer {
    position: relative;
    background: #000;
    padding: 48px 0 32px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
}

.footer-logo-exp {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-legal {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.7;
}

.footer-legal-links {
    margin-top: 16px;
    font-size: 0.9375rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: #94a3b8;
}

.modal-body p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
    color: #1a1a2e;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6366f1;
}

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

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

.form-group--checkbox .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}

.form-group--checkbox .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-group--checkbox .checkbox-note {
    color: #64748b;
    font-weight: 500;
}

.form-group--checkbox .checkbox-link {
    font-size: 0.8125rem;
    color: #6366f1;
    text-decoration: none;
    margin-left: 4px;
}

.form-group--checkbox .checkbox-link:hover {
    text-decoration: underline;
}

.form-group--checkbox .form-group-hint {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin: 6px 0 0 28px;
}

.modal-submit {
    width: 100%;
    padding: 14px;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: #1a1a2e;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-submit:hover {
    background: #2d2d44;
}

.modal-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.modal-error {
    font-size: 0.875rem;
    color: #dc2626;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 8px;
}

.modal-success {
    text-align: center;
    padding: 24px 0;
}

.success-icon {
    width: 56px;
    height: 56px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.success-icon svg {
    width: 28px;
    height: 28px;
    color: #10b981;
}

.modal-success h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.modal-success p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

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

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .nav-link {
        color: #475569;
        font-size: 1rem;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 8px;
        margin-bottom: 8px;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 8px;
    }

    .nav-dropdown-item {
        padding: 10px 12px;
        color: #475569;
    }

    .nav-dropdown-item:hover {
        background: rgba(0, 0, 0, 0.04);
    }

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

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

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

    .hero-chat {
        margin-top: 24px;
    }

    .hero-chat-prompt-heading {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .hero-search--pill {
        padding-left: 14px;
        min-height: 52px;
    }

    .hero-chat-add,
    .hero-chat-mic {
        width: 36px;
        height: 36px;
    }

    .hero-chat-send {
        width: 40px;
        height: 40px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 8px;
    }

    .meta-dot {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .quote-section {
        padding: 48px 0;
    }

    .quote-text {
        font-size: 1.375rem;
    }

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

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

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

    .cta-input-group {
        flex-direction: column;
        border-radius: 12px;
    }

    .cta-input-group input {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cta-input-group button {
        justify-content: center;
        border-radius: 0 0 11px 11px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .final-cta {
        padding: 72px 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .quote-section {
        padding: 40px 0;
    }

    .quote-text {
        font-size: 1.25rem;
    }

    .testimonial-card {
        min-width: 260px;
        max-width: 260px;
    }
}
