:root {
    --bg-dark: #0a0a0b;
    --bg-card: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --primary-color: #10b981;
    --primary-hover: #059669;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --hero-overlay: linear-gradient(to bottom, rgba(10,10,11,0.3) 0%, #0a0a0b 100%);
    --nav-bg: rgba(10, 10, 11, 0.8);
    --input-bg: rgba(0, 0, 0, 0.5);
    --calc-glass: rgba(255, 255, 255, 0.03);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --hero-overlay: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, #f8fafc 100%);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --input-bg: #f1f5f9;
    --calc-glass: rgba(255, 255, 255, 0.8);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body { overflow-x: hidden; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.w-full { width: 100%; }

.gradient-text {
    background: linear-gradient(135deg, #a1a1aa 0%, #10b981 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.highlight { color: var(--primary-color); }
.text-primary { color: var(--primary-color); }

/* Buttons & Layout */
.row-2 { display: flex; gap: 16px; }
.col { flex: 1; }

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--primary-color); color: white;
    text-decoration: none; font-weight: 600;
    border-radius: 12px; transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.5); cursor: pointer;
}
.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover); transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}
.btn-primary:disabled {
    background: #64748b; border-color: #475569; opacity: 0.5; cursor: not-allowed;
}

.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-card); color: var(--text-main);
    text-decoration: none; font-weight: 600;
    border-radius: 12px; border: 1px solid var(--border-color);
    transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(16, 185, 129, 0.1); border-color: var(--primary-color); color: var(--primary-color); transform: translateY(-2px); }

.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-nav { padding: 10px 24px; }
.btn-submit { padding: 16px; font-size: 1.1rem; margin-top: 24px; }

.btn-icon {
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-main); width: 44px; height: 44px;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    transition: all 0.3s;
}
.btn-icon:hover { background: rgba(16, 185, 129, 0.1); color: var(--primary-color); border-color: var(--primary-color); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--nav-bg); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color); transition: background-color 0.3s;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }

/* Hero Section */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; }
.hero-bg {
    position: absolute; inset: 0; z-index: -1; opacity: 0.8; transition: background 0.3s;
    background: var(--hero-overlay), url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
}
.hero-content { max-width: 800px; text-align: center; margin: 0 auto; }
.hero-title { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; font-weight: 800; margin-bottom: 24px; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Notebook Lineup Section */
.notebook-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.notebook-list { display: flex; flex-direction: column; gap: 48px; }
.notebook-card { 
    padding: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; 
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    background: var(--calc-glass); backdrop-filter: blur(20px); border: 1px solid var(--border-color);
}
.notebook-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: var(--primary-color); }
.notebook-header { display: flex; background: rgba(0,0,0,0.2); border-bottom: 1px solid var(--border-color); }
.notebook-image { width: 40%; }
.notebook-image img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.notebook-title { width: 60%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.notebook-title h3 { font-family: var(--font-heading); font-size: 2.2rem; margin: 12px 0 8px 0; color: var(--text-main); }
.notebook-title p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }

.notebook-body { display: flex; padding: 40px; gap: 48px; }
.specs-col { width: 55%; }
.price-col { width: 45%; }
.notebook-body h4 { font-family: var(--font-heading); margin-bottom: 24px; font-size: 1.25rem; color: var(--text-main); border-bottom: 2px solid var(--border-color); padding-bottom: 12px; }

.specs-list { list-style: none; }
.specs-list li { margin-bottom: 16px; display: flex; align-items: flex-start; gap: 16px; color: var(--text-main); font-size: 1.05rem; line-height: 1.4; }
.specs-list i { font-size: 1.2rem; margin-top: 3px; min-width: 24px; text-align: center; }

.minimal-table { width: 100%; border-collapse: collapse; }
.minimal-table td { padding: 12px 0; border-bottom: 1px dashed var(--border-color); font-size: 1.05rem; color: var(--text-main); }
.minimal-table tr:last-child td { border-bottom: none; }
.text-right { text-align: right; }
.notebook-btn { width: 100%; margin-top: 24px; }
.table-scroll { max-height: 220px; overflow-y: auto; padding-right: 16px; }

/* Scrollbar styling for table-scroll */
.table-scroll::-webkit-scrollbar { width: 6px; }
.table-scroll::-webkit-scrollbar-track { background: var(--bg-card); border-radius: 4px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
.table-scroll::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

.badge { padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; width: max-content;}
.badge-hybrid { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-luxury { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }

/* Calculator */
.kalkulator-section { padding: 100px 0; background: rgba(255,255,255,0.02); }
.kalkulator-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.kalkulator-info h2 { font-family: var(--font-heading); font-size: 3rem; line-height: 1.1; margin-bottom: 24px; }
.kalkulator-info p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 32px; }
.price-tag {
    display: inline-block; padding: 24px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: 16px; border-left: 4px solid var(--primary-color);
}
.price-label { display: block; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 8px; }
.price-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--text-main); }

.glass-panel { background: var(--calc-glass); backdrop-filter: blur(20px); border: 1px solid var(--border-color); border-radius: 24px; padding: 40px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); transition: background-color 0.3s; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 12px; color: var(--text-main); font-weight: 500; font-size: 0.95rem; }
.input-prefix { display: flex; background: var(--input-bg); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: border-color 0.3s, background-color 0.3s; }
.input-prefix:focus-within { border-color: var(--primary-color); }
.prefix { padding: 16px; background: rgba(128, 128, 128, 0.1); color: var(--text-muted); font-weight: 600; }
.input-prefix input { flex: 1; background: transparent; border: none; color: var(--text-main); padding: 16px; font-size: 1.1rem; outline: none; width: 100%; transition: color 0.3s;}
.input-prefix input:disabled { opacity: 0.5; }

select {
    width: 100%; background: var(--input-bg); border: 1px solid var(--border-color); color: var(--text-main);
    padding: 16px; font-size: 1rem; border-radius: 12px; outline: none; cursor: pointer; appearance: none; transition: background-color 0.3s, border-color 0.3s;
}
select:focus { border-color: var(--primary-color); }
select:disabled { opacity: 0.5; cursor: not-allowed; }
select option { background: var(--bg-card); color: var(--text-main); }

.calculation-result { margin-top: 32px; padding: 24px; background: rgba(16, 185, 129, 0.05); border-radius: 16px; border: 1px solid rgba(16, 185, 129, 0.2); }
.result-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--text-muted); }
.result-row:last-child { margin-bottom: 0; margin-top: 16px; border-top: 1px solid var(--border-color); padding-top: 16px; }
#resultPlafond { color: var(--text-main); font-weight: 600; }
.highlight-result { font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary-color); font-weight: 700; }
.disclaimer { font-size: 0.75rem; color: var(--text-muted); margin-top: 16px; line-height: 1.5; }

/* Sales Profile Section */
.profile-section { padding: 100px 0; background: var(--bg-card); transition: background-color 0.3s; }
.sales-profile-wrapper { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: center; }
.sales-photo { flex: 1; min-width: 280px; display: flex; justify-content: center; align-self: flex-start; }
.sales-photo img { 
    width: 250px; 
    height: 250px; 
    border-radius: 50%; 
    border: 4px solid var(--primary-color); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
    object-fit: cover; 
    object-position: center 30%;
}
.sales-info { flex: 2; min-width: 300px; }
.sales-info h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 8px; color: var(--text-main); }
.sales-info h3 { color: var(--text-muted); margin-bottom: 24px; font-weight: 400; }
.sales-info p { line-height: 1.7; margin-bottom: 24px; color: var(--text-muted); }
.sales-features { list-style: none; margin-bottom: 32px; }
.sales-features li { margin-bottom: 18px; display: flex; align-items: flex-start; gap: 14px; color: var(--text-muted); line-height: 1.6; }
.sales-features li i { margin-top: 4px; font-size: 1.1rem; flex-shrink: 0; }
.sales-features li strong { display: block; color: var(--text-main); font-weight: 600; margin-bottom: 3px; }

/* Footer & Floating Button */
footer { padding: 60px 0; border-top: 1px solid var(--border-color); background: var(--bg-dark); transition: background-color 0.3s; }
footer h3 { font-family: var(--font-heading); margin-bottom: 8px;}
footer p { color: var(--text-muted); }
.social-links { margin: 24px 0; display: flex; justify-content: center; gap: 16px; }
.social-links a { color: var(--text-muted); font-size: 1.5rem; transition: color 0.3s; }
.social-links a:hover { color: var(--text-main); }
.copyright { font-size: 0.875rem; }

.floating-wa {
    position: fixed; bottom: 32px; right: 32px; z-index: 99; width: 64px; height: 64px; background: var(--primary-color); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5); transition: all 0.3s; text-decoration: none; animation: pulse 2s infinite;
}
.floating-wa:hover { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* Responsive */
@media (max-width: 992px) {
    .row-2 { flex-direction: column; }
    .kalkulator-wrapper, .sales-profile-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .kalkulator-section, .notebook-section, .profile-section, .faq-section { padding: 60px 0; }
    .sales-profile-wrapper { flex-direction: column; text-align: center; }
    .sales-photo { align-self: center; }
    .sales-features li { text-align: left; justify-content: flex-start; }
    
    .notebook-header, .notebook-body { flex-direction: column; }
    .notebook-image, .notebook-title, .specs-col, .price-col { width: 100%; }
    .notebook-title { padding: 32px 24px; }
    .notebook-body { padding: 32px 24px; gap: 40px; }
    .notebook-image img { height: 250px; }
}

@media (max-width: 768px) {
    .nav-content { height: 60px; } .logo-text { font-size: 1.25rem; }
    .hero { padding-top: 60px; } .hero-title { font-size: 2.25rem; }
    .hero-buttons { flex-direction: column; width: 100%; } .hero-buttons a { width: 100%; }
    .floating-wa { bottom: 24px; right: 24px; width: 56px; height: 56px; font-size: 1.75rem; }
    .glass-panel { padding: 24px; }
}

/* FAQ Section */
.faq-section { padding: 100px 0; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { padding: 0; border-radius: 16px; overflow: hidden; }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 22px 28px;
    font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--text-main);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary-color); font-size: 1.6rem; line-height: 1; transition: transform 0.3s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item > p { padding: 0 28px 24px 28px; margin: 0; color: var(--text-muted); line-height: 1.7; }

/* Footer NAP / contact */
.footer-nap { margin-top: 8px; font-size: 0.95rem; }
footer a.footer-link { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
footer a.footer-link:hover { color: var(--primary-color); }