/* ============================================
   LEVweb.dk — Professional Web Design Agency
   Dark Theme · Teal Accent (#00F5D4) · Inter
   ============================================ */

/* ------------------------------------------
   1. CSS Custom Properties
   ------------------------------------------ */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1c1c1c;
    --bg-footer: #080808;

    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #5a5a5a;

    --accent: #00F5D4;
    --accent-light: #33f7dd;
    --accent-dark: #00c4a9;
    --accent-glow: rgba(0, 245, 212, 0.15);
    --accent-border: rgba(0, 245, 212, 0.2);

    --border: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 0 30px rgba(0, 245, 212, 0.15);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --container-width: 1200px;
    --container-narrow: 800px;
    --nav-height: 80px;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}

::selection {
    background-color: var(--accent);
    color: var(--bg-primary);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 245, 212, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 245, 212, 0.5);
}

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

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

a:hover {
    color: var(--accent-light);
}

/* ------------------------------------------
   3. Typography
   ------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.15;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.text-accent {
    color: var(--accent);
}

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

/* ------------------------------------------
   4. Layout
   ------------------------------------------ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    margin: 1.2rem auto 0;
    border-radius: 2px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ------------------------------------------
   5. Navbar
   ------------------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: var(--bg-primary) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all var(--transition);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--accent-light);
    color: var(--bg-primary) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

/* Language Toggle — iOS style */
.lang-toggle {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 3px;
    cursor: pointer;
    margin-left: 0.5rem;
    width: 76px;
    height: 30px;
}

.lang-toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 35px;
    height: 24px;
    background: var(--accent);
    border-radius: 50px;
    transition: transform var(--transition);
    z-index: 0;
}

.lang-toggle[data-active="en"] .lang-toggle-slider {
    transform: translateX(35px);
}

.lang-toggle button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0;
    width: 35px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color var(--transition);
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
}

.lang-toggle button.active {
    color: var(--bg-primary);
}

.lang-toggle button:hover:not(.active) {
    color: var(--text-primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    display: block;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.97);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-menu a {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* ------------------------------------------
   6. Buttons
   ------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.9rem 2.2rem;
}

.btn-primary:hover {
    background: var(--accent-light);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 245, 212, 0.25), 0 4px 15px rgba(0, 245, 212, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    padding: 0.9rem 2.2rem;
    border: 1.5px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

.btn-lg {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.82rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ------------------------------------------
   7. Hero
   ------------------------------------------ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 245, 212, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn-group {
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 245, 212, 0.08);
    border: 1px solid var(--accent-border);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* ------------------------------------------
   8. Cards
   ------------------------------------------ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 245, 212, 0.06);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    margin-bottom: 1.2rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card h3 {
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.92rem;
}

/* ------------------------------------------
   9. Pricing Cards
   ------------------------------------------ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 0 40px rgba(0, 245, 212, 0.08);
}

.pricing-card.featured {
    border-color: var(--accent);
    border-width: 2px;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.6rem 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* Tilkøb */
.addon-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: all var(--transition);
}

.addon-card:hover {
    border-color: var(--accent-border);
}

.addon-info h4 {
    margin-bottom: 0.25rem;
}

.addon-info p {
    font-size: 0.85rem;
}

.addon-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

/* ------------------------------------------
   10. Comparison Table
   ------------------------------------------ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}

.comparison-table th {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 1.2rem;
}

.comparison-table td:first-child {
    color: var(--text-secondary);
}

.comparison-table .col-them {
    color: var(--text-muted);
}

.comparison-table .col-us {
    color: var(--accent);
    font-weight: 600;
}

.comparison-table tr:hover td {
    background: rgba(0, 245, 212, 0.02);
}

/* ------------------------------------------
   11. Case Studies
   ------------------------------------------ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.case-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.case-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.case-content {
    padding: 2rem;
}

.case-content .case-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.case-content h3 {
    margin-bottom: 0.5rem;
}

.case-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color var(--transition);
}

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

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
    stroke: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ------------------------------------------
   13. Order Form (bestilling.html)
   ------------------------------------------ */
.form-section {
    margin-bottom: 3rem;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group label .required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: border-color var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5a5a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

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

/* Radio & Checkbox groups */
.radio-group,
.checkbox-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* Package selection cards in form */
.package-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.package-option {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.package-option:hover {
    border-color: var(--accent-border);
}

.package-option.selected {
    border-color: var(--accent);
    background: rgba(0, 245, 212, 0.03);
}

.freq-option {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.freq-option:hover {
    border-color: var(--accent-border);
}

.freq-option.selected {
    border-color: var(--accent);
    background: rgba(0, 245, 212, 0.03);
}

.freq-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.freq-option h4 {
    margin-bottom: 0.25rem;
}

.freq-option .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.package-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.package-option h4 {
    margin-bottom: 0.25rem;
}

.package-option .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.package-option .price span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.package-option ul {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.package-option ul li {
    padding: 0.2rem 0;
}

.package-option ul li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Tilkøb checkboxes in form */
.addon-selector {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.addon-option {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.addon-option:hover {
    border-color: var(--accent-border);
}

.addon-option.checked {
    border-color: var(--accent);
    background: rgba(0, 245, 212, 0.03);
}

.addon-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}

.addon-option-info {
    flex: 1;
}

.addon-option-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.addon-option-info p {
    font-size: 0.82rem;
}

.addon-option-price {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Conditional fields */
.conditional-field {
    display: none;
    animation: fadeIn 0.3s ease;
}

.conditional-field.visible {
    display: block;
}

/* File upload */
.file-upload {
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}

.file-upload:hover {
    border-color: var(--accent-border);
}

.file-upload p {
    font-size: 0.85rem;
}

.file-upload input[type="file"] {
    display: none;
}

/* Order summary */
.order-summary {
    background: var(--bg-card);
    border: 2px solid var(--accent-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.order-summary h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-total .price {
    color: var(--accent);
}

.summary-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-align: right;
}

.order-form-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* Terms checkbox */
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.terms-check input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.terms-check a {
    color: var(--accent);
    text-decoration: underline;
}

/* ------------------------------------------
   14. CTA Section
   ------------------------------------------ */
.cta-section {
    text-align: center;
    padding: 6rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 550px;
    margin: 0 auto 2rem;
}

/* ------------------------------------------
   15. Footer
   ------------------------------------------ */
.footer {
    background: var(--bg-footer);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .nav-logo {
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.85rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ------------------------------------------
   16. Scroll Reveal Animation
   ------------------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }

/* ------------------------------------------
   17. Utility Classes
   ------------------------------------------ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ------------------------------------------
   18. Animations
   ------------------------------------------ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 10px var(--accent-glow); }
    50% { box-shadow: 0 0 25px rgba(0, 245, 212, 0.25), 0 0 50px rgba(0, 245, 212, 0.1); }
}

.btn-shimmer {
    animation: shimmer 3s ease-in-out infinite;
}

/* ------------------------------------------
   19. Responsive — Tablet (968px)
   ------------------------------------------ */
@media (max-width: 968px) {
    #particleCanvas {
        display: none;
    }

    .section {
        padding: 5rem 0;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .pricing-card {
        padding: 2rem 1.2rem;
    }

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

    .order-form-layout {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.8rem;
    }
}

/* ------------------------------------------
   20. Responsive — Mobile (600px)
   ------------------------------------------ */
@media (max-width: 600px) {
    .section {
        padding: 3.5rem 0;
    }

    .container,
    .container-narrow {
        padding: 0 1.2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .package-selector {
        grid-template-columns: 1fr;
    }

    .package-option {
        padding: 1rem;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-group .btn {
        text-align: center;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .card {
        padding: 1.8rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .addon-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
    }

    .order-summary {
        padding: 1.8rem;
    }

    .radio-group {
        flex-direction: column;
    }

    .footer-content {
        gap: 2rem;
    }

    .cta-section {
        padding: 4rem 0;
    }
}

/* ------------------------------------------
   21. Reduced Motion
   ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    body {
        opacity: 1;
    }
}
