/* Default Styles & Variables */
:root {
    --bg-dark: #0a0a0e;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;

    --accent-1: #6366f1;
    /* Indigo */
    --accent-2: #ec4899;
    /* Pink */
    --accent-3: #f59e0b;
    /* Amber/Orange for productivity app */

    --gradient-primary: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    --gradient-mesai: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Blobs */
.background-blob {
    position: absolute;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    animation-delay: 0s;
}

.blob-2 {
    top: 40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--accent-2);
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, 50px) scale(1.1);
    }

    100% {
        transform: translate(-50px, 150px) scale(0.9);
    }
}

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

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(10, 10, 14, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 14, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-1);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary) !important;
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Sections */
section {
    padding: 120px 0;
}

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

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

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

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1e1e24;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: rotate(-5deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(-10px);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1e1e24;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #161622 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

.odaq-logo-centered {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: white;
}

/* App Card Section */
.app-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
}

.app-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.app-icon-container {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.app-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-mesai);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 800;
    color: white;
    font-family: var(--font-heading);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.2);
}

.app-details h3 {
    font-size: 32px;
    margin-bottom: 4px;
}

.app-author {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 12px;
}

.app-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-small {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-small i {
    color: var(--accent-1);
    font-size: 12px;
}

.app-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.app-description b {
    color: var(--text-primary);
}

/* Feature Highlights Grid */
.feature-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.2);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* Store Links */
.store-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    min-width: 220px;
}

.store-btn.google-play:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.store-btn i {
    font-size: 32px;
}

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

.store-text .small {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.store-text .big {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.store-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.store-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 500;
}

.features-list i {
    color: var(--accent-1);
    font-size: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
}

.stat-box h3 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-box p {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
    background: rgba(0, 0, 0, 0.2);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: white;
}

.footer-brand h2 span {
    color: var(--accent-1);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

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

.social-links a:hover {
    background: var(--accent-1);
}

.footer-links {
    text-align: right;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links p {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

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

    .hero-visual {
        margin-top: 40px;
    }

    .about-text {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 14, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        padding-top: 60px;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease forwards;
    }

    .nav-links a {
        font-size: 22px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1000;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-header h2,
    .about-text h2 {
        font-size: 32px;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .app-card {
        padding: 24px;
    }

    .app-icon-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .app-meta {
        justify-content: center;
    }

    .app-details h3 {
        font-size: 26px;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

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

    .store-btn {
        width: 100%;
        min-width: unset;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        text-align: center;
        width: 100%;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .app-card {
        padding: 20px;
    }

    .stat-box {
        padding: 24px 16px;
    }

    .stat-box h3 {
        font-size: 42px;
    }

    .badge-small {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* App Card Link */
.app-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.puzzlex-card {
    cursor: pointer;
}

.puzzlex-play-btn {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.puzzlex-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3) !important;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}