/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@200;400;700;900&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent: #FFBF00;
    /* Amber Gold for Light */
    --accent-glow: rgba(255, 191, 0, 0.4);
    --text-primary: #ededed;
    --text-secondary: #999;

    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* --- PARALLAX BACKGROUND SYSTEM --- */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url('../assets/modern-villa-v1.jpg') no-repeat center center;
    background-size: cover;
    filter: brightness(0.3);
    will-change: transform;
    /* Basic parallax scaling effect on scroll can be added via JS */
}

/* --- GLASSMORPHISM UTILITIES --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* --- SCROLL ANIMATIONS --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo i {
    color: var(--accent);
    margin-right: 10px;
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    /* Shimmer Text Effect */
    background: linear-gradient(to right, #444 0%, #fff 50%, #444 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: -200% center;
    }
}

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

.btn-glow {
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-glow:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 30px var(--accent-glow);
}

/* --- CONCEPT SECTION (Columns) --- */
.concept-section {
    padding: 100px 0;
    position: relative;
}

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

.concept-card {
    padding: 40px;
    text-align: center;
    transition: var(--transition-slow);
}

.concept-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.concept-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 20px var(--accent-glow);
}

/* --- DYNAMIC SERVICES --- */
.services-section {
    padding: 100px 0;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 100px;
    align-items: center;
}

.service-row.reverse {
    direction: rtl;
}

/* Quick hack for layout flip, text needs reset */
.service-row.reverse .service-text {
    direction: ltr;
}

.service-visual {
    height: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Solar Reflection Effect */
.solar-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.solar-effect:hover::before {
    left: 200%;
    transition: 0.7s;
}

/* Steel Skeleton Effect */
.steel-effect img {
    transition: opacity 0.5s;
}

.steel-effect .hovershow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    /* CSS filter to simulate wireframe/skeleton if no image */
    filter: grayscale(100%) contrast(1.5) invert(1);
}

.steel-effect:hover .hovershow {
    opacity: 0.5;
}

/* --- STUDIO TEASER --- */
.studio-teaser {
    background: radial-gradient(circle, #222 0%, #000 100%);
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

/* --- CONTACT --- */
.contact-section {
    padding: 100px 0;
    text-align: center;
}

.contact-form-glass {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    text-align: left;
}

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

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    padding: 15px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 191, 0, 0.1);
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .service-row {
        grid-template-columns: 1fr;
    }
}

/* Premium Cards CSS Merged Below */
/* Premium Service Grid Styles */

/* Remove default glass panel styles for these specific cards to apply custom images */
.premium-card {
    position: relative;
    height: 400px;
    /* Taller for impact */
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--accent);
}

/* Background Image Layer */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 0;
}

.premium-card:hover .card-bg {
    transform: scale(1.1);
}

/* Gradient Overlay - darker at bottom for text */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.4));
    z-index: 1;
    transition: background 0.4s;
}

.premium-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6));
}

/* Content Layer */
.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    padding: 30px;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
    transform: translateY(0);
    transition: transform 0.4s;
}

.premium-card:hover .card-icon {
    transform: translateY(-5px);
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0;
    transition: opacity 0.3s, margin 0.3s;
    /* Normally visible, but we might push it up on hover */
}

/* Hidden Details List */
.solution-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    margin-top: 0;
}

.premium-card:hover .solution-list {
    max-height: 200px;
    /* Enough for list */
    opacity: 1;
    margin-top: 15px;
}

.solution-list li {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-list li i {
    color: var(--accent);
    font-size: 0.7rem;
}

.card-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s 0.1s;
}

.premium-card:hover .card-cta {
    opacity: 1;
    transform: translateY(0);
}
/* --- NEW PREMIUM UPGRADES --- */

/* 1. Force 4-Column Grid on Desktop */
@media (min-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* 2. Cinematic Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    /* Ensure text is distinct */
    background: transparent; 
}

/* Cinematic Zoom Effect for Background */
@keyframes cinematicZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.fixed-bg {
    animation: cinematicZoom 20s infinite alternate ease-in-out;
}

/* 3. Luxury Typography */
/* Overwriting previous hero-title */
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200; /* Thin/Elegant */
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    background: linear-gradient(to right, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto;
    border-top: 1px solid var(--accent);
    padding-top: 20px;
    display: inline-block;
}

/* 4. Glass Header Upgrade */
header {
    background: rgba(10, 10, 10, 0.2) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

header .logo {
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

header .logo i {
    color: var(--accent);
}

/* Premium Button Upgrade */
.btn-glow {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 15px 40px;
    transition: 0.4s;
}

.btn-glow:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px rgba(255,255,255,0.3);
    transform: translateY(-3px);
}


/* Grid Frame Update */
.premium-card {
    border: 2px solid rgba(255, 255, 255, 0.2); /* Thicker border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.8); /* Stronger shadow */
    background: #000; /* Solid background to prevent see-through to parallax */
}

/* Add a subtle container frame around the whole grid if needed, 
   but user asked for 'grid etrafına çerçeve', likely meaning the cards themselves visually separating from bg */
.premium-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent);
}


/* Spacing Fix for Services Section */
.services-section {
    margin-top: 150px !important; /* Force separation from the grid above */
    padding-top: 50px;
}


/* --- 3D STUDIO ANIMATION --- */
.studio-teaser {
    position: relative;
    overflow: hidden;
    perspective: 1000px; /* Depth for 3D */
}

.studio-3d-scene {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    z-index: 1; /* Behind text */
    pointer-events: none;
    opacity: 0.6;
}

.wireframe-house {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateHouse 15s infinite linear;
}

@keyframes rotateHouse {
    0% { transform: rotateX(-10deg) rotateY(0deg); }
    100% { transform: rotateX(-10deg) rotateY(360deg); }
}

/* Common Wall Style */
.wall {
    position: absolute;
    border: 2px solid var(--accent);
    background: rgba(255, 191, 0, 0.05); /* Very faint fill */
    box-shadow: 0 0 15px rgba(255, 191, 0, 0.2);
    backface-visibility: visible;
}

/* Dimensions: Let's make a house roughly 200x150x200 */
.front, .back {
    width: 200px;
    height: 150px;
    left: 50px; top: 100px;
}

.front { transform: translateZ(100px); }
.back { transform: translateZ(-100px); }

.left, .right {
    width: 200px;
    height: 150px;
    top: 100px;
    left: 50px;
}

.left { transform: rotateY(90deg) translateZ(100px); }
.right { transform: rotateY(-90deg) translateZ(100px); }

.floor {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    transform: rotateX(90deg) translateZ(100px); /* Bottom */
    position: absolute;
    left: 50px; top: 50px; /* Slight adjustment */
    border: 2px solid rgba(255,255,255,0.2);
}

/* Roof (Pyramid/Prism style simplified) */
.roof-left, .roof-right {
    width: 200px;
    height: 142px; /* Hypotenuse approx */
    position: absolute;
    left: 50px; top: 0;
    border: 2px solid var(--accent);
    background: rgba(255, 191, 0, 0.1);
}

.roof-left { transform: rotateY(90deg) rotateX(-45deg) translateZ(50px) translateY(50px); height: 145px; width: 200px; top: -30px; left: 50px; border: none; /* Tricky with pure CSS planes, simplifying to flat roof or peaked */ }
/* Simplified Peaked Roof using 2 planes */
.roof-p1 {
    width: 200px; height: 110px;
    position: absolute; left: 50px; top: 20px;
    border: 2px solid var(--accent);
    transform: rotateX(45deg) translateZ(30px) translateY(-50px);
    background: rgba(255,191,0,0.1);
}
.roof-p2 {
    width: 200px; height: 110px;
    position: absolute; left: 50px; top: 20px;
    border: 2px solid var(--accent);
    transform: rotateX(-45deg) translateZ(-30px) translateY(-50px);
    background: rgba(255,191,0,0.1);
}


/* Studio Teaser Image Update */
.studio-teaser {
    position: relative;
    padding: 120px 0;
    text-align: center;
    background: url('../assets/modern-villa-v1.jpg') center/cover no-repeat fixed; /* Parallax Effect */
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.studio-teaser::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); /* Overlay for text readability */
    z-index: 1;
}

.studio-teaser .container {
    position: relative;
    z-index: 2;
}

/* Cleanup 3D Garbage (Overwriting previous styles to be safe or just ignoring them since we replaced the HTML) */
.studio-3d-scene, .wireframe-house { display: none; }


/* Darkness to Light Text Effect */
.gradient-reveal-text {
    background: linear-gradient(to right, #444 0%, #fff 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shineText 5s linear infinite;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 200; /* Thin luxury feel */
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}


/* --- PREMIUM FOOTER --- */
.site-footer {
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 30px;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-col p {
    color: #888;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}


/* Footer Map */
.footer-map {
    width: 100%;
    height: 120px;
    border: none;
    border-radius: 8px;
    margin-top: 15px;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.footer-map:hover {
    opacity: 1;
}


/* Premium Map Integration */
.footer-map-section {
    margin-top: 40px;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    height: 200px; /* Reduced height for subtlety */
}

.footer-map-frame {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(90%) contrast(85%); /* Dark Theme Map */
    transition: filter 0.3s;
}

.footer-map-frame:hover {
    filter: grayscale(0%) invert(0%); /* Color on hover */
}


/* Premium Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Very subtle divider */
    padding-top: 25px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem; /* Small, professional */
    text-transform: uppercase; /* Corporate look */
    letter-spacing: 1px; /* Expensive feel */
    color: #555;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-signature {
    font-weight: 500;
    color: #777;
    margin-left: auto; /* Push to right if needed */
}

.footer-signature span {
    color: #fff;
}


/* Yellow Flow Text Animation */
.gradient-reveal-text {
    background: linear-gradient(to right, #ffffff 0%, #FFD700 50%, #ffffff 100%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineFlow 3s linear infinite;
}

@keyframes shineFlow {
    to {
        background-position: -200% center;
    }
}
/* =========================================
   SUCCESS MODAL STYLES (ADDED)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(20, 20, 20, 0.85);
    /* Dark Glass */
    border: 1px solid rgba(255, 215, 0, 0.2);
    /* Subtle Gold Border */
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.success-icon {
    font-size: 4rem;
    color: var(--accent, #FFD700);
    margin-bottom: 25px;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

.modal-content h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.modal-content p {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

.modal-content strong {
    color: #fff;
    font-weight: 500;
}

.modal-content .btn-glow {
    padding: 15px 50px;
    font-size: 1rem;
    cursor: pointer;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* LOGO FIX */
.logo-symbol { height: 45px; width: auto; object-fit: contain; }
.logo-container img { max-height: 45px; }

/* STUDIO RESTORATION - PREMIUM POLISH */
.studio-wrapper {
    display: flex;
    height: calc(100vh - 80px);
    margin-top: 80px;
    overflow: hidden;
    background: #000;
}

.studio-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.studio-panel-left, .studio-panel-right {
    width: 320px;
    background: var(--glass-bg); /* Glassmorphism */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    z-index: 10;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.studio-visualizer {
    flex: 1;
    position: relative;
    background: #050505;
    overflow: hidden;
    box-shadow: inset 0 0 100px #000; /* Depth */
}

/* Panel Titles */
.panel-title {
    font-size: 1.2rem;
    color: var(--gold-primary);
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

/* Premium Model Buttons */
.model-btn {
    display: block;
    width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
}

.model-btn:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(5px);
}

.model-btn.active {
    border-color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.05);
    color: #fff;
    box-shadow: var(--glow-gold);
}

/* Bottom Bar Polish */
.bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.8) 70%, transparent 100%);
    padding: 50px 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
    z-index: 10;
}

.price-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 5px;
}

.price-display {
    font-size: 3rem;
    font-weight: 200; /* Elegant thin font */
    color: #fff;
    margin: 10px 0 20px;
    text-shadow: 0 0 20px rgba(255,215,0,0.3);
}

.progress-bar {
    width: 100%;
    max-width: 600px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gold-gradient);
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 10px var(--gold-primary);
}

/* Toggles & Upgrades */
.upgrade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.upgrade-label {
    font-size: 0.95rem;
    color: #ddd;
}

/* Switch UI */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333;
  transition: .4s;
  border-radius: 34px;
  border: 1px solid #555;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--gold-dark);
  border-color: var(--gold-primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--gold-primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
  background-color: #fff;
}

/* MOBILE FIXES v3.5 */
@media (max-width: 768px) {
    .feature-title {
        font-size: 1.4rem !important; /* Force smaller size */
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .hero-subtitle {
        padding-top: 30px !important;
        width: 90% !important;
    }

    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 100px !important; /* Shorter line on mobile */
    }

    .case-study-badge {
        font-size: 0.65rem !important;
        padding: 4px 10px !important;
    }
}
