/* ==========================================================================
   PixelFlow Studio — Premium Dark Glassmorphism CSS Design System
   ========================================================================== */

/* --- CSS Variables & Theme Tokens --- */
:root {
    --bg-dark: #07090e;
    --bg-card: rgba(18, 22, 34, 0.65);
    --bg-card-hover: rgba(28, 34, 52, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(99, 102, 241, 0.5);
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #a855f7;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f97316;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    --gradient-btn: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-btn-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

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

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Background Orbs --- */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    animation: floatOrb 18s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: #6366f1;
    top: -100px;
    left: -100px;
}

.bg-glow-2 {
    width: 450px;
    height: 450px;
    background: #a855f7;
    top: 40%;
    right: -100px;
    animation-delay: -6s;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background: #06b6d4;
    bottom: -100px;
    left: 20%;
    animation-delay: -12s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 80px) scale(0.9); }
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* --- Layout Containers & Typography --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.sub-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

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

/* --- Glassmorphism Cards --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--gradient-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* --- Header Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
    transition: var(--transition);
    background: rgba(7, 9, 14, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: var(--shadow-glow);
}

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* --- Mobile Bottom Action Bar --- */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 420px;
    height: 64px;
    background: rgba(18, 22, 34, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 0 12px;
    align-items: center;
    justify-content: space-around;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 6px 12px;
    border-radius: 16px;
}

.mobile-nav-item i {
    font-size: 1.2rem;
}

.mobile-nav-item.active {
    color: var(--accent-cyan);
}

.mobile-nav-item.highlight {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--accent-green);
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-glass);
}

/* Hero Showcase Card */
.hero-visual {
    position: relative;
}

.hero-card {
    overflow: hidden;
}

.card-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-glass);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-title {
    font-size: 0.8rem;
    font-family: monospace;
    color: var(--text-muted);
}

.window-badge {
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    padding: 2px 8px;
    border-radius: 12px;
}

.card-body {
    padding: 24px;
}

.hero-card-inner {
    background: rgba(10, 12, 20, 0.8);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    padding: 24px;
}

.card-badge-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.badge-pill {
    font-size: 0.75rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.card-hero-head {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.card-hero-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.card-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.card-feat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 12px 8px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

.card-feat-item i {
    font-size: 1.2rem;
    color: var(--accent-cyan);
}

/* --- Features Section --- */
.features-section {
    padding: 80px 0;
}

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

.feature-card {
    padding: 32px 24px;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.gradient-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-glow);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Services / Formats Section --- */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    padding: 28px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
}

.service-price-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

/* --- Calculator Section --- */
.calculator-section {
    padding: 80px 0;
}

.calculator-card {
    padding: 40px;
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 36px;
}

.calc-badge {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
}

.calc-group {
    margin-bottom: 32px;
}

.calc-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.calc-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.calc-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.calc-option i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.calc-option.active {
    background: var(--gradient-glow);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.option-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.option-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
}

.option-price {
    font-weight: 700;
    color: var(--primary);
}

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

.checkbox-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.checkbox-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.cb-content {
    flex: 1;
}

.cb-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.cb-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cb-price {
    font-weight: 700;
    color: var(--accent-green);
    font-size: 0.9rem;
}

.calc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
}

.calc-result {
    display: flex;
    gap: 32px;
}

.res-block {
    display: flex;
    flex-direction: column;
}

.res-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.res-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.res-value.highlight {
    font-size: 2rem;
    color: var(--accent-cyan);
}

/* --- Human Developer Perks & Tech Pills --- */
.human-perks-list {
    margin-bottom: 20px;
}

.human-perks-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.human-perks-list li i {
    color: var(--accent-green);
    font-size: 0.95rem;
    margin-top: 2px;
}

.card-tech-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
}

.tech-pill {
    font-size: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

/* --- FAQ Section (Accordion) --- */
.faq-section {
    padding: 80px 0;
}

.faq-accordion {
    max-width: 840px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.faq-icon {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

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

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.process-step {
    padding: 32px 24px;
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 12px;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact-section {
    padding: 80px 0 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-items {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.info-val {
    font-weight: 600;
    font-size: 1rem;
}

.tg-bot-status-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 18px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.status-tag {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.tg-bot-status-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact-form-box {
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.req { color: #ef4444; }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.input-wrapper select option {
    background: #121622;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-privacy {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    background: rgba(7, 9, 14, 0.8);
}

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

.footer-left p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* --- Modals System --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.modal-container {
    width: 100%;
    max-width: 520px;
    position: relative;
    padding: 32px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(18, 22, 34, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s forwards;
}

.toast.success { border-left-color: var(--accent-green); }
.toast.error { border-left-color: #ef4444; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calc-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 90px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-menu {
        display: none;
    }
    
    .mobile-bottom-bar {
        display: flex;
    }
    
    .hero-section {
        padding-top: 95px;
        padding-bottom: 30px;
    }
    
    .hero-title {
        font-size: 1.95rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        line-height: 1.35;
        white-space: normal;
        max-width: 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 18px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .stat-number {
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .stat-label {
        font-size: 0.78rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 20px 16px;
    }
    
    .calculator-card, 
    .contact-info, 
    .contact-form-box {
        padding: 20px 16px !important;
    }

    .calc-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .calc-checkboxes {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .calc-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .calc-footer .btn {
        width: 100%;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .section-title {
        font-size: 1.65rem;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 18px 18px;
    }
    
    /* Prevent iOS auto-zoom on inputs */
    .input-wrapper input,
    .input-wrapper select,
    .input-wrapper textarea {
        font-size: 16px !important;
        padding: 12px 14px 12px 42px;
    }
    
    .contact-section {
        padding-bottom: 110px;
    }
}
