:root {
    --bg-color: #171717;
    --primary-orange: #F25623;
    --dark-gray: #4D4D4D;
    --light-gray: #DEDEDE;
    --text-white: #ffffff;
    --card-bg: #222222;
    --input-bg: #2A2A2A;
    --border-color: #333333;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6,
.brand-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* Navbar */
.navbar {
    background-color: rgba(23, 23, 23, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-orange);
}

/* Main Layout */
.page-content {
    min-height: calc(100vh - 180px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
}

/* Footer */
footer {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    color: var(--dark-gray);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Utilities */
.btn {
    background: var(--primary-orange);
    color: white;
    padding: 0.8rem clamp(1.5rem, 4vw, 2rem);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* Ensure Apple tap target minimums */
    min-height: 48px;
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
}

.btn-secondary:hover {
    background: rgba(242, 86, 35, 0.1);
    color: var(--primary-orange);
}

.title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.subtitle {
    color: var(--light-gray);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
}

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

.badge {
    background: rgba(242, 86, 35, 0.1);
    color: var(--primary-orange);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(circle, rgba(242, 86, 35, 0.15) 0%, transparent 60%);
    z-index: -1;
    border-radius: 50%;
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 180px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dark-gray);
}

.bar {
    flex: 1;
    background: var(--primary-orange);
    border-radius: 6px 6px 0 0;
    transition: height 0.5s ease;
}

.h-60 {
    height: 60%;
    opacity: 0.6;
}

.h-80 {
    height: 80%;
    opacity: 0.8;
}

.h-40 {
    height: 40%;
    opacity: 0.4;
}

.h-100 {
    height: 100%;
    opacity: 1;
}

.h-70 {
    height: 70%;
    opacity: 0.7;
}

.card-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.card-info p {
    color: var(--light-gray);
    font-size: 1rem;
}

/* =========================================================================
   Responsive Breakpoints & Mobile Architecture
   ========================================================================= */

/* Large Tablets / Small Laptops (max 1280px) */
@media (max-width: 1280px) {
    .nav-container {
        padding: 1.5rem;
    }

    .hero-section {
        padding: 4rem 0;
    }
}

/* Tablet / Phablet (max 1024px) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .subtitle {
        margin: 0 auto 2.5rem auto;
    }

    .hero-visual {
        order: 2;
        margin-top: 1rem;
    }
}

/* Small Tablets / Large Mobile (max 768px) */
@media (max-width: 768px) {

    /* Navbar Hamburger Setup */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(23, 23, 23, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
        animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes slideDownFade {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        padding: 1rem 0;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: block;
        width: 100%;
        min-height: 44px;
        /* Apple tap target */
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Structural adjustments */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .visual-card {
        padding: 2rem 1.5rem;
    }
}

/* Standard Mobile (max 480px) */
@media (max-width: 480px) {
    .brand-logo {
        font-size: 1.4rem;
        gap: 8px;
    }

    .brand-logo img {
        width: 32px;
        height: 32px;
    }

    .chart-mockup {
        height: 140px;
        gap: 0.5rem;
    }
}