/* 
  Showcase Website Design System
  Theme: Premium Dark / Brand Bold
*/

:root {
    /* Colors */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-glass: rgba(5, 5, 5, 0.8);

    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #444444;

    --accent-primary: #ff6b00;
    --accent-secondary: #e65a00;

    --border-glass: rgba(255, 255, 255, 0.05);
    --shadow-premium: 0 40px 100px rgba(0, 0, 0, 0.8);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Utilities */
h1,
h2,
h3,
.responsive-h2 {
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

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

/* Layout Utilities */
section {
    padding: var(--section-padding);
}

.flex {
    display: flex;
}

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

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

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
    gap: 30px;
}

/* Components */
.btn {
    padding: 18px 36px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

/* Glass Card */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Feature Sections */
.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    padding: 50px 40px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.02);
}

.feature-card i {
    font-size: 32px;
    color: var(--accent-primary);
    margin-bottom: 30px;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.feature-card p {
    flex-grow: 1;
    margin-bottom: 30px;
}

.benefit-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
    width: fit-content;
    transition: all 0.3s ease;
}

.feature-card:hover .benefit-tag {
    background: var(--accent-primary);
    color: #fff;
}

/* Featured Grid */
.featured-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

/* Demo Box (Browser-like Container) */
.demo-box {
    background: #000;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    position: relative;
    margin: 40px 0;
}

.demo-browser-bar {
    height: 32px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
    border-bottom: 1px solid var(--border-glass);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.demo-tag {
    position: absolute;
    top: 5px;
    right: 20px;
    background: #12aa22;
    color: #fff;
    padding: 2px 10px;
    font-size: 10px;
    font-weight: 900;
    border-radius: 4px;
    letter-spacing: 0.1em;
    z-index: 10;
}

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

.demo-carousel {
    display: flex;
    position: relative;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    min-width: 100%;
    height: auto;
}

.carousel-item img {
    width: 100%;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* 1px white border for demo feel */
    border-radius: 4px;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    /* Hidden by default, show on hover */
}

.demo-box:hover .carousel-control {
    opacity: 1;
}

.carousel-control:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Carousel Pagination */
.carousel-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .feature-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Enhanced Feature Detail */
.feature-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px;
}

.feature-detail-content {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    padding: 60px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.feature-detail-content i {
    font-size: 48px;
    color: var(--accent-primary);
    margin-bottom: 30px;
    opacity: 0.8;
}

.feature-detail-content h4 {
    font-size: 32px;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.feature-detail-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.feature-stats {
    display: flex;
    gap: 60px;
}

.stat-item .value {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-primary);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

/* Why Custom Section */
.why-custom {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
    background-color: var(--border-glass);
    margin-top: 80px;
    border: 1px solid var(--border-glass);
}

.why-item {
    background-color: var(--bg-primary);
    padding: 60px 40px;
    transition: all 0.4s ease;
}

.why-item i {
    font-size: 32px;
    color: var(--accent-primary);
    margin-bottom: 30px;
}

.why-item h4 {
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.why-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.why-item:hover {
    background-color: var(--bg-secondary);
    box-shadow: inset 0 0 0 1px var(--accent-primary);
    z-index: 1;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    border-top: 1px solid var(--border-glass);
}

.faq-grid {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 16px;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    transition: color 0.3s ease;
    padding-right: 40px;
}

.faq-question i {
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-answer p {
    padding-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Active State */
.faq-item.active .faq-question h4 {
    color: var(--accent-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--accent-primary);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Adjust as needed */
    opacity: 1;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Footer Complex Styles */
.footer-complex {
    padding: 100px 0 40px;
    background: #000;
    border-top: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    color: var(--accent-primary);
    font-weight: 700;
}

/* Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 32px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-delivery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.delivery-item {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-item i {
    color: var(--accent-primary);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-glass);
}

.footer-social a:hover {
    background: var(--accent-primary);
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

/* Links Column */
.links-col ul {
    list-style: none;
    padding: 0;
}

.links-col ul li {
    margin-bottom: 15px;
}

.links-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.links-col ul li a:hover {
    color: var(--accent-primary);
}

/* Form Column */
.form-col p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.footer-form input,
.footer-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 12px 18px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.footer-form input:focus,
.footer-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.1);
}

.footer-form textarea {
    resize: none;
}

.form-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.form-captcha input {
    width: 60px;
    padding: 8px;
    text-align: center;
}

#footerFormMessage {
    font-size: 13px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

#footerFormMessage.success {
    background: rgba(0, 255, 0, 0.1);
    color: #4ade80;
    border: 1px solid rgba(0, 255, 0, 0.2);
    display: block;
}

#footerFormMessage.error {
    background: rgba(255, 0, 0, 0.1);
    color: #f87171;
    border: 1px solid rgba(255, 0, 0, 0.2);
    display: block;
}

#footerSubmitBtn {
    margin-top: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-col {
        grid-column: span 2;
    }
}

/* --- CONSOLIDATED MOBILE RESPONSIVENESS FIXES --- */
@media (max-width: 768px) {
    header {
        background: rgba(5, 5, 5, 0.98) !important;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-glass);
    }

    .hero {
        min-height: 100vh !important;
        height: auto !important;
        padding-top: 200px !important;
        padding-bottom: 100px !important;
        display: flex !important;
        align-items: flex-start !important;
    }

    h1 {
        font-size: 32px !important;
    }

    h2, .responsive-h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .feature-detail-grid {
        grid-template-columns: 1fr !important;
        margin-top: 40px !important;
    }

    .feature-detail-content {
        padding: 40px 20px !important;
    }

    .feature-detail-content h4 {
        font-size: 24px !important;
    }

    .feature-stats {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .stat-item .value {
        font-size: 36px !important;
    }

    .grid.feature-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 220px !important;
    }
    
    h2, .responsive-h2 {
        font-size: 22px !important;
    }
}
