/* ============================================================
   CHINA PRIME - PREMIUM DESIGN SYSTEM
   Theme: Luxury, Professional, Modern
   Typography: Kanit (Primary), Noto Sans SC (Chinese)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
    /* Color Palette - Primary */
    --primary: #102051;
    --primary-dark: #0E1B46;
    --primary-light: #132557;
    --accent-blue: #1A2E66;
    --highlight-soft: #243B7A;

    /* Backgrounds */
    --body-bg: #0E1B46;
    --section-bg: #102051;
    --card-bg: #132557;
    --overlay-dark: rgba(8, 16, 40, 0.72);

    /* Text Colors */
    --text-main: #FFFFFF;
    --text-soft: #DCE6FF;
    --text-muted: #AEBBDF;
    --text-dark: #0E1B46;

    /* Buttons */
    --btn-primary: #1A2E66;
    --btn-primary-hover: #243B7A;
    --btn-primary-text: #FFFFFF;
    --btn-secondary: transparent;
    --btn-secondary-border: #DCE6FF;
    --btn-secondary-text: #DCE6FF;
    --btn-secondary-hover-bg: rgba(220, 230, 255, 0.08);

    /* UI Elements */
    --border-main: #2A3D73;
    --border-soft: #3A4F87;
    --divider: rgba(220, 230, 255, 0.12);

    /* Highlights & Glows */
    --glow: #6F8FEF;
    --soft-silver: #D9DDE8;
    --premium-white: #F7F9FF;
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.3);

    /* Transitions & Shadows */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--body-bg);
    color: var(--text-main);
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

section, .section, .section-alt {
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
}

.heading-xl { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.heading-lg { font-size: clamp(2rem, 4vw, 3.5rem); }
.heading-md { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.heading-sm { font-size: 1.25rem; }

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #DCE6FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--btn-primary);
    color: var(--btn-primary-text);
    box-shadow: 0 4px 15px rgba(26, 46, 102, 0.4);
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 46, 102, 0.5);
}

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

.btn-secondary:hover {
    background-color: var(--btn-secondary-hover-bg);
    transform: translateY(-2px);
}

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

.btn-line {
    background: linear-gradient(135deg, #2B3A8E 0%, #1E2D6F 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(30, 45, 111, 0.45);
    font-weight: 500;
    padding: 14px 36px;
}

.btn-line:hover {
    background: linear-gradient(135deg, #3A4CAE 0%, #2B3A8E 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30, 45, 111, 0.55);
}

.btn-call {
    background: linear-gradient(135deg, #2B3A8E 0%, #1E2D6F 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(30, 45, 111, 0.45);
    font-weight: 500;
    padding: 14px 36px;
}

.btn-call:hover {
    background: linear-gradient(135deg, #3A4CAE 0%, #2B3A8E 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30, 45, 111, 0.55);
}

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

.section-alt {
    background-color: var(--section-bg);
}

.label-premium {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(111, 143, 239, 0.1);
    color: var(--glow);
    border: 1px solid rgba(111, 143, 239, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

/* Glassmorphism Card */
.card-premium {
    background-color: var(--card-bg);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--border-soft);
    box-shadow: var(--shadow-lg);
}

/* Reveal Animation Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ---- Header & Nav (Handled by JS injection but styled here) ---- */
#header-placeholder {
    height: 80px; /* Space for fixed header */
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    background-color: rgba(14, 27, 70, 0.9);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.header-logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-soft);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

/* ---- Footer ---- */
.footer {
    background-color: #0B1638;
    padding: 80px 0 40px;
    color: var(--text-soft);
}

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

.footer-heading {
    color: var(--text-main);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--glow); }

.footer-bottom {
    border-top: 1px solid var(--divider);
    padding-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive Grid Helper */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   RESPONSIVE DESIGN SYSTEM
   Breakpoints: 1024 / 768 / 600 / 480 / 360 / 320
   ============================================================ */

/* --- Tablet Landscape (≤1024px) --- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 80px 0; }
}

/* --- Tablet Portrait (≤768px) --- */
@media (max-width: 768px) {
    /* --- Base --- */
    .container { padding: 0 20px; }
    .section { padding: 60px 0; }

    /* --- Typography Scaling --- */
    .heading-xl { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .heading-lg { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
    .heading-md { font-size: clamp(1.2rem, 4.5vw, 1.8rem); }
    .heading-sm { font-size: 1.1rem; }

    /* --- Grid to Single Column --- */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }

    /* --- Header Mobile --- */
    #header-placeholder { height: 70px; }
    .header { padding: 14px 0; }
    .header.scrolled { padding: 10px 0; }
    .header-logo img { height: 40px; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(14, 27, 70, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 1050;
        opacity: 0;
        transition: opacity 0.35s ease;
    }
    .nav-links.mobile-open {
        display: flex;
        opacity: 1;
    }
    .nav-links .nav-link {
        font-size: 1.3rem;
        font-weight: 500;
        padding: 12px 24px;
    }
    .nav-toggle { display: block; }

    /* --- Buttons on Mobile --- */
    .btn { padding: 12px 24px; font-size: 0.95rem; }
    .btn-lg { padding: 14px 32px; font-size: 1rem; }
    .btn-sm { padding: 10px 20px; font-size: 0.85rem; }

    /* --- Hero Section (override inline styles) --- */
    .hero {
        min-height: 80vh !important;
        height: auto !important;
    }
    .hero .text-soft {
        font-size: 1.05rem !important;
        line-height: 1.7 !important;
    }

    /* --- Trust Bar (homepage inline style override) --- */
    .grid-4[style*="text-align: center"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    /* --- Founder / Story (2-col grid override) --- */
    .grid-2[style*="align-items: center"] {
        gap: 28px !important;
    }

    /* --- Route Cards image height override --- */
    .card-premium[style*="padding: 0"] [style*="height: 250px"] {
        height: 200px !important;
    }

    /* --- Cards --- */
    .card-premium { padding: 24px; }
    .card-premium:hover { transform: none; }

    /* --- Footer --- */
    .footer { padding: 50px 0 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { padding-top: 24px; }
    .footer-info { text-align: center; }
    .footer-info .social-links { justify-content: center; }

    /* --- Label --- */
    .label-premium { font-size: 0.75rem; padding: 5px 14px; letter-spacing: 1.5px; }

    /* --- Reveal Animation --- */
    .reveal { transform: translateY(20px); }
}

/* --- Large Phone / Small Tablet (≤600px) --- */
@media (max-width: 600px) {
    .container { padding: 0 18px; }
    .section { padding: 52px 0; }

    /* Trust bar → 2x2 grid on small screens */
    .grid-4[style*="text-align: center"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .grid-4[style*="text-align: center"] .heading-sm {
        font-size: 0.9rem;
    }
    .grid-4[style*="text-align: center"] i {
        font-size: 1.2rem !important;
        margin-bottom: 6px !important;
    }

    .card-premium[style*="padding: 0"] [style*="height: 250px"] {
        height: 180px !important;
    }

    /* Better CTA button stacking */
    .hero div[style*="display: flex"][style*="gap: 16px"],
    .section div[style*="display: flex"][style*="gap: 20px"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .hero div[style*="display: flex"][style*="gap: 16px"] .btn,
    .section div[style*="display: flex"][style*="gap: 20px"] .btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* --- Phone (≤480px) --- */
@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .section { padding: 44px 0; }

    /* --- Typography Fine-Tune --- */
    .heading-xl { font-size: clamp(1.6rem, 8vw, 2.2rem); }
    .heading-lg { font-size: clamp(1.35rem, 6.5vw, 1.85rem); }
    .heading-md { font-size: clamp(1.1rem, 5vw, 1.5rem); }
    .heading-sm { font-size: 1rem; }

    /* --- Hero --- */
    .hero {
        min-height: 70vh !important;
    }
    .hero .text-soft {
        font-size: 0.95rem !important;
    }
    .hero div[style*="margin-top: 40px"] {
        margin-top: 24px !important;
        font-size: 0.82rem !important;
    }

    /* --- Buttons --- */
    .btn { padding: 11px 20px; font-size: 0.9rem; }
    .btn-lg { padding: 13px 28px; font-size: 0.95rem; }
    .btn-line, .btn-call { padding: 12px 24px; font-size: 0.9rem; }

    /* --- Cards --- */
    .card-premium { padding: 20px; border-radius: 12px; }

    /* --- Trust Bar --- */
    .grid-4[style*="text-align: center"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    /* --- Route card images --- */
    .card-premium[style*="padding: 0"] [style*="height: 250px"] {
        height: 170px !important;
    }
    .card-premium[style*="padding: 0"] [style*="padding: 24px"] {
        padding: 18px !important;
    }

    /* --- Service icons inline style override --- */
    .card-premium img[style*="width: 80px"] {
        width: 60px !important;
        height: 60px !important;
    }

    /* --- Process icons --- */
    .grid-4[style*="text-align: center"] div[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
        margin-bottom: 16px !important;
    }

    /* --- Founder desc text --- */
    .grid-2 .text-soft[style*="font-size: 1.1rem"] {
        font-size: 0.95rem !important;
        margin-bottom: 28px !important;
    }

    /* --- Footer --- */
    .footer-heading { font-size: 1rem; margin-bottom: 18px; }
    .footer-links li { margin-bottom: 10px; font-size: 0.9rem; }
    .footer-bottom { font-size: 0.8rem; }
}

/* --- Small Phone (≤360px) --- */
@media (max-width: 360px) {
    .container { padding: 0 14px; }
    .section { padding: 36px 0; }
    .heading-xl { font-size: 1.5rem; }
    .heading-lg { font-size: 1.3rem; }
    .heading-md { font-size: 1.15rem; }
    .heading-sm { font-size: 0.95rem; }
    .btn { padding: 10px 18px; font-size: 0.85rem; }
    .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
    .btn-line, .btn-call { padding: 11px 20px; font-size: 0.85rem; }
    .label-premium { font-size: 0.7rem; padding: 4px 10px; letter-spacing: 1px; }
    .card-premium { padding: 16px; border-radius: 10px; }
    .header-logo img { height: 34px; }

    /* Trust bar → single column */
    .grid-4[style*="text-align: center"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .grid-4[style*="text-align: center"] > div {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .card-premium[style*="padding: 0"] [style*="height: 250px"] {
        height: 150px !important;
    }
    .card-premium[style*="padding: 0"] [style*="padding: 24px"] {
        padding: 14px !important;
    }

    /* Service icons smaller */
    .card-premium img[style*="width: 80px"] {
        width: 52px !important;
        height: 52px !important;
    }

    /* Founder quote border */
    div[style*="border-left: 4px"] {
        padding-left: 16px !important;
        margin: 24px 0 !important;
        font-size: 0.9rem;
    }
}

/* --- Ultra Small / iPhone SE (≤320px) --- */
@media (max-width: 320px) {
    .container { padding: 0 12px; }
    .section { padding: 32px 0; }
    .heading-xl { font-size: 1.35rem; }
    .heading-lg { font-size: 1.2rem; }
    .heading-md { font-size: 1.05rem; }
    .heading-sm { font-size: 0.88rem; }
    .btn { padding: 9px 16px; font-size: 0.82rem; }
    .btn-lg { padding: 11px 22px; font-size: 0.85rem; }
    .header-logo img { height: 30px; }
    #header-placeholder { height: 60px; }
    .hero { min-height: 65vh !important; }
    .hero .text-soft { font-size: 0.85rem !important; }
    .card-premium { padding: 14px; border-radius: 8px; }
    .card-premium[style*="padding: 0"] [style*="height: 250px"] {
        height: 130px !important;
    }
}

/* --- Landscape Phone --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh !important;
        padding: 80px 0 40px !important;
    }
    .section { padding: 40px 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* --- Safe area for notched phones (iPhone X+) --- */
@supports (padding: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
    .footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
}

/* ============================================================
   PREMIUM POPUP MODAL
   ============================================================ */

/* Overlay */
.cp-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 14, 36, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    pointer-events: none;
    opacity: 0;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, opacity 0.1s ease;
}

.cp-modal-overlay.active {
    pointer-events: auto;
    opacity: 1;
    background: rgba(8, 14, 36, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Modal Container */
.cp-modal {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    background: linear-gradient(165deg, #132557 0%, #0E1B46 100%);
    border: 1px solid rgba(111, 143, 239, 0.15);
    border-radius: 28px;
    overflow: hidden;
    overflow-y: auto;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(111, 143, 239, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(60px) scale(0.95);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1),
                opacity 0.35s ease;
}

.cp-modal.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Scrollbar */
.cp-modal::-webkit-scrollbar { width: 6px; }
.cp-modal::-webkit-scrollbar-track { background: transparent; }
.cp-modal::-webkit-scrollbar-thumb { background: rgba(111, 143, 239, 0.25); border-radius: 3px; }

/* Close Button */
.cp-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(14, 27, 70, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cp-modal__close:hover {
    background: rgba(111, 143, 239, 0.3);
    transform: rotate(90deg) scale(1.1);
}

/* Image Section */
.cp-modal__image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.cp-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-modal__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0E1B46 0%, rgba(14, 27, 70, 0.3) 50%, transparent 100%);
}

/* Badge */
.cp-modal__badge {
    position: absolute;
    bottom: 20px;
    left: 24px;
    display: inline-block;
    padding: 6px 18px;
    background: rgba(111, 143, 239, 0.15);
    border: 1px solid rgba(111, 143, 239, 0.3);
    border-radius: 50px;
    color: var(--glow);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(8px);
}

/* Body */
.cp-modal__body {
    padding: 36px 36px 40px;
}

/* Icon */
.cp-modal__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(111, 143, 239, 0.15), rgba(111, 143, 239, 0.05));
    border: 1px solid rgba(111, 143, 239, 0.2);
    color: var(--glow);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Title */
.cp-modal__title {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Description */
.cp-modal__desc {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Features Grid */
.cp-modal__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.cp-modal__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(111, 143, 239, 0.08);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-soft);
    transition: var(--transition);
}

.cp-modal__feature:hover {
    background: rgba(111, 143, 239, 0.06);
    border-color: rgba(111, 143, 239, 0.18);
}

.cp-modal__feature-icon {
    color: var(--glow);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* CTA Buttons */
.cp-modal__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cp-modal__btn {
    flex: 1;
    min-width: 180px;
    text-align: center;
}

/* ---- Modal Responsive ---- */
@media (max-width: 768px) {
    .cp-modal-overlay { padding: 20px 16px; }
    .cp-modal { max-width: 100%; border-radius: 22px; }
    .cp-modal__image { height: 220px; }
    .cp-modal__body { padding: 28px 24px 32px; }
    .cp-modal__title { font-size: 1.4rem; }
    .cp-modal__desc { font-size: 0.95rem; }
    .cp-modal__features { grid-template-columns: 1fr; gap: 10px; }
    .cp-modal__cta { flex-direction: column; }
    .cp-modal__btn { min-width: unset; }
}

@media (max-width: 480px) {
    .cp-modal-overlay { padding: 12px 12px; }
    .cp-modal { border-radius: 18px; max-height: 92vh; }
    .cp-modal__image { height: 180px; }
    .cp-modal__body { padding: 24px 20px 28px; }
    .cp-modal__title { font-size: 1.25rem; }
    .cp-modal__icon { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 12px; }
    .cp-modal__feature { padding: 10px 14px; font-size: 0.85rem; }
    .cp-modal__close { width: 38px; height: 38px; top: 12px; right: 12px; }
}
