:root {
    --bg-white: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-subnav: #D8E5F0;
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --brand-orange: #F97316;
    --brand-navy: #1A2B3C;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* --- Top Header --- */
.top-header {
    background: var(--bg-white);
    border-bottom: 1px solid #EAEAEA;
    padding: 20px 5%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    background: #F0F4F8;
    border-radius: 8px;
    padding: 10px 15px;
}

.search-icon {
    margin-right: 10px;
    opacity: 0.5;
}

.search-bar input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
}

.header-actions {
    display: flex;
    gap: 25px;
}

.action-btn {
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    color: var(--brand-navy);
    opacity: 0.7;
}

/* --- Sub Navbar --- */
.sub-navbar {
    background: var(--bg-subnav);
    padding: 15px 5%;
}

.sub-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.nav-links a:hover {
    opacity: 0.7;
}

.support-link a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-navy);
}

/* --- Hero Section --- */
.hero {
    background: var(--bg-light);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 5%;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-left: max(0px, calc((100vw - 1400px) / 2));
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.highlight-orange {
    color: var(--brand-orange);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 500;
}

.btn-dark {
    display: inline-block;
    background: var(--brand-navy);
    color: white;
    padding: 15px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
}

.btn-dark:hover {
    background: #111e29;
    transform: translateY(-2px);
}

.app-download-section {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 12px 20px 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.qr-code {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.download-text {
    display: flex;
    flex-direction: column;
}

.download-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.download-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image {
    max-width: 120%;
    width: 450px;
    margin-right: -50px;
    transform: rotate(5deg);
    filter: drop-shadow(-20px 20px 30px rgba(0,0,0,0.1));
}

/* --- Features / Accessories Section --- */
.accessories-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--brand-navy);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card-dark {
    background: var(--brand-navy);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.feature-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 43, 60, 0.3);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.feature-card-dark h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.shop-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--brand-orange);
    width: max-content;
}

.shop-link:hover {
    color: var(--brand-orange);
}

.card-icon {
    font-size: 4rem;
    opacity: 0.9;
}

/* --- Text Sections --- */
.text-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.bg-light-alt {
    background-color: #FAFCFF;
    border-top: 1px solid #EAEAEA;
    border-bottom: 1px solid #EAEAEA;
    max-width: 100%;
}

.text-container {
    max-width: 900px;
    margin: 0 auto;
}

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

.text-content {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--brand-navy);
    font-weight: 500;
    margin-bottom: 20px;
}

.text-content p {
    margin-bottom: 20px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.column h3 {
    color: var(--brand-navy);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* --- Footer --- */
.footer {
    border-top: 1px solid #EAEAEA;
    padding: 40px 5%;
    text-align: center;
    color: var(--text-muted);
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* --- Contact Form --- */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-status {
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.form-status.hidden {
    display: none;
}

.form-status.success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.form-status.error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--brand-orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--brand-navy);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(26, 43, 60, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
        margin-top: 15px;
    }

    .hero {
        flex-direction: column;
        padding: 60px 5%;
        text-align: center;
    }

    .hero-content {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero-image-container {
        margin-top: 50px;
        justify-content: center;
    }

    .hero-image {
        margin-right: 0;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .features-row {
        grid-template-columns: 1fr;
    }
    
    .two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
