:root {
    --bg-dark: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --primary-glow: #00d4ff;
    --secondary-glow: #0088cc;
    --text-main: #e8e8e8;
    --text-muted: #888888;
}

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

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.6); }
    100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.2); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 136, 204, 0.03) 0%, transparent 50%);
}

/* Background Glowing Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}
.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
    top: -100px;
    left: -100px;
}
.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-glow);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.6s ease-out backwards;
}
.glass-panel:nth-child(1) { animation-delay: 0.1s; }
.glass-panel:nth-child(2) { animation-delay: 0.2s; }
.glass-panel:nth-child(3) { animation-delay: 0.3s; }
.glass-panel:nth-child(4) { animation-delay: 0.4s; }
.glass-panel:nth-child(5) { animation-delay: 0.5s; }
.glass-panel:nth-child(6) { animation-delay: 0.6s; }
.glass-panel:nth-child(7) { animation-delay: 0.7s; }
.glass-panel:nth-child(8) { animation-delay: 0.8s; }
.glass-panel:nth-child(9) { animation-delay: 0.9s; }
.glass-panel:nth-child(10) { animation-delay: 1.0s; }

.glass-panel:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 255, 0.15);
}
.glass-panel:hover .badge {
    animation: pulseGlow 1.5s infinite;
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}
.nav-logo {
    height: 35px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.highlight {
    color: var(--primary-glow);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary-glow);
}

/* Typography & Layout */
.section-padding {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 5%;
    gap: 4rem;
}
.hero-content {
    padding: 4rem;
    text-align: left;
    max-width: 700px;
}
.hero-image-container {
    position: relative;
    max-width: 600px;
    perspective: 1000px;
}
.hero-mockup {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.hero-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}
.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    filter: blur(40px);
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-glow);
    border-radius: 50px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}
h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}
.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}
.feature-card h3 {
    color: var(--primary-glow);
    margin-bottom: 0.5rem;
}

.llm-icon {
    width: 32px;
    height: 32px;
    vertical-align: text-bottom;
    margin-right: 12px;
    border-radius: 6px;
    background: #fff;
    padding: 2px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}
.btn-primary-small {
    padding: 0.5rem 1.5rem;
    background: var(--primary-glow);
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
}
.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: background 0.3s;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Method Grid */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.method-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -10px;
    right: 10px;
}
.method-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}
.pricing-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}
.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary-glow);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
}
.pricing-card.popular:hover {
    transform: scale(1.08);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-glow);
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
}
.price span {
    font-size: 1rem;
    color: var(--text-muted);
}
.features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}
.features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}
.features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(90deg, var(--primary-glow), #00ffaa, var(--primary-glow));
    background-size: 200% auto;
    animation: gradientText 3s linear infinite;
}
.pricing-card button {
    width: 100%;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Flag Backgrounds & UI Overrides */
.grid {
    gap: 10px !important;
}

.btn-pdf {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary-glow) !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
}
.btn-pdf:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
}

.glass-panel {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.glass-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.05;
    z-index: -1;
    background-size: 80px auto;
    background-repeat: no-repeat;
    background-position: right 20px top 20px;
    pointer-events: none;
    transition: opacity 0.3s;
}
.glass-panel:hover::before {
    opacity: 0.15;
}

/* Specific Flags */
.flag-fr::before { background-image: url("https://upload.wikimedia.org/wikipedia/en/c/c3/Flag_of_France.svg"); }
.flag-cn::before { background-image: url("https://upload.wikimedia.org/wikipedia/commons/f/fa/Flag_of_the_People%27s_Republic_of_China.svg"); }
.flag-us::before { background-image: url("https://upload.wikimedia.org/wikipedia/en/a/a4/Flag_of_the_United_States.svg"); }

.grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)) !important;
    gap: 20px !important;
}

/* Order Section */
.order-shell {
    padding: 2.5rem;
}

.order-intro {
    max-width: 920px;
    margin-bottom: 2rem;
}

.order-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.order-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.order-tab {
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.25s ease;
}

.order-tab:hover,
.order-tab.is-active {
    border-color: rgba(0, 212, 255, 0.45);
    color: var(--primary-glow);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
}

.order-panel {
    display: none;
    padding: 2rem;
    border-radius: 20px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(4, 10, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.order-panel.is-active {
    display: block;
    animation: fadeInUp 0.35s ease-out;
}

.panel-copy {
    max-width: 900px;
    margin-bottom: 1.5rem;
}

.panel-copy h3 {
    font-size: 1.75rem;
    margin-bottom: 0.8rem;
}

.panel-copy p {
    color: var(--text-muted);
}

.order-form {
    display: grid;
    gap: 1.2rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-form label {
    display: grid;
    gap: 0.45rem;
}

.order-form label span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    padding: 0.95rem 1rem;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.order-form select option {
    color: #111;
}

.order-form input::placeholder,
.order-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.08);
    background: rgba(255, 255, 255, 0.055);
}

.form-checks {
    display: grid;
    gap: 0.75rem;
}

.checkbox-row {
    display: flex !important;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--text-muted);
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    accent-color: var(--primary-glow);
}

.checkbox-row span {
    font-weight: 400 !important;
    color: var(--text-muted) !important;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 0.4rem;
}

@media (max-width: 980px) {
    .form-grid.two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .order-shell {
        padding: 1.4rem;
    }

    .order-panel {
        padding: 1.2rem;
    }

    .order-intro h3,
    .panel-copy h3 {
        font-size: 1.45rem;
    }

    .order-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .order-tab,
    .form-actions button {
        width: 100%;
    }
}
