:root {
    --primary-color: #6366f1;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
}

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

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: #6366f1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #6366f1;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-block;
}

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

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

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-image {
    perspective: 1000px;
}

.phone-mockup {
    width: 300px;
    margin: 0 auto;
    border: 12px solid #1e293b;
    border-radius: 45px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    background: #000;
    transform: rotateY(-15deg) rotateX(10deg);
}

.phone-mockup img {
    width: 100%;
    display: block;
}

/* Background Shapes */
.hero-bg-shapes .shape {
    position: absolute;
    filter: blur(100px);
    z-index: 1;
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.15);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, 0.15);
    bottom: 50px;
    left: -50px;
}

/* Featured App */
.featured-app {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.app-display {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.app-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.app-info p {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.app-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.app-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.app-features i {
    color: #10b981;
}

.app-store-btns {
    display: flex;
    gap: 1rem;
}

.app-btn {
    background: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    border: 1px solid #334155;
    transition: var(--transition);
}

.app-btn:hover {
    border-color: #6366f1;
    transform: translateY(-3px);
}

.app-btn i {
    font-size: 1.5rem;
}

.app-screenshots {
    display: flex;
    gap: 30px;
    padding: 40px 20px;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.app-screenshots img {
    height: 500px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.app-screenshots img:nth-child(1) {
    transform: translateY(20px) rotateY(10deg);
}

.app-screenshots img:nth-child(2) {
    transform: translateY(-20px) scale(1.05);
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.app-screenshots img:nth-child(3) {
    transform: translateY(20px) rotateY(-10deg);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-brand p {
    color: var(--text-dim);
    margin: 1.5rem 0 2rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: #6366f1;
    color: white;
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-dim);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: #6366f1;
}

.footer-newsletter p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    color: white;
    outline: none;
}

.newsletter-form button {
    background: #6366f1;
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #4f46e5;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        text-align: center;
        gap: 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero .container,
    .app-display,
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p,
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns,
    .app-store-btns {
        justify-content: center;
    }

    .phone-mockup {
        transform: none;
        margin-top: 3rem;
    }

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