/* ===== CSS Variables for Theme ===== */
:root {
    --bg-dark: #0a0e17;
    --bg-darker: #05070a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary-color: #0070f3; /* Vibrant Blue */
    --secondary-color: #ff4500; /* Energetic Orange/Red */
    --text-main: #f8f9fa;
    --text-muted: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #00d2ff);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #ff8c00);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ===== Header & Navigation ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(5, 7, 10, 0.85);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-img {
    width: auto;
    height: 75px;
    object-fit: contain;
}

.footer-logo {
    width: auto;
    height: 100px;
    object-fit: contain;
}

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

.nav-menu a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.nav-menu a:hover:not(.nav-btn) {
    color: var(--primary-color);
}

.nav-btn {
    background: var(--gradient-primary);
    padding: 10px 24px;
    border-radius: 30px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 112, 243, 0.3);
}

.nav-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 112, 243, 0.5);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background decorations */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
}

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

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 69, 0, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-darker);
    border: none;
}

.btn-primary:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-primary i {
    font-size: 1.2rem;
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(0, 112, 243, 0.05);
    color: var(--primary-color);
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    color: #ffd700;
    font-size: 1.1rem;
}

.rating-box span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

.floating-mockup {
    width: 100%;
    max-width: 350px;
    animation: floating 6s ease-in-out infinite;
    z-index: 2;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.2;
    z-index: 1;
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: rgba(0, 112, 243, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

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

/* ===== Download Section ===== */
.download-section {
    padding: 100px 0;
    position: relative;
    text-align: center;
}

.download-container {
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.1), rgba(255, 69, 0, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 80px 40px;
    backdrop-filter: blur(10px);
}

.download-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.download-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.store-btn {
    display: flex;
    align-items: center;
    background-color: var(--text-main);
    color: var(--bg-darker);
    padding: 12px 24px;
    border-radius: 12px;
    gap: 15px;
    transition: all 0.3s ease;
}

.store-btn i {
    font-size: 2.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.small-text {
    font-size: 0.75rem;
    font-weight: 400;
}

.large-text {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
}

.store-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

/* ===== Footer ===== */
footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.link-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.link-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-column a {
    color: var(--text-muted);
}

.link-column a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Animations ===== */
@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .cta-group {
        justify-content: center;
    }

    .rating-box {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 16px auto 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-darker);
        transition: 0.3s;
        padding-top: 40px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .download-content h2 {
        font-size: 2rem;
    }
}
