:root {
    --primary: #6246EA;
    --primary-dark: #4a34b8;
    --secondary: #FF9500;
    --dark: #0f0f13;
    --light: #F8F9FA;
    --gray: #8A94A4;
    --text-color: #ffffff;
    --bg-dark: #050507;
    --card-bg: rgba(255, 255, 255, 0.05);
}

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

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

/* Background Effects */
.background-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(98, 70, 234, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.top-left {
    top: -200px;
    left: -200px;
}

.bottom-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(255, 149, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

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

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    /* fallback */
}

h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #9c89ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 .gradient-text {
    background: linear-gradient(135deg, var(--secondary) 0%, #ffc166 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

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

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

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(98, 70, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(98, 70, 234, 0.5);
    background: var(--primary-dark);
}

.cta-button.small {
    padding: 10px 24px;
    box-shadow: none;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    backdrop-filter: blur(10px);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(98, 70, 234, 0.1);
    border: 1px solid rgba(98, 70, 234, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    color: #b0a0ff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.pulse {
    width: 6px;
    height: 6px;
    background: #6246EA;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(98, 70, 234, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(98, 70, 234, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(98, 70, 234, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(98, 70, 234, 0);
    }
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

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

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 40px;
    border: 8px solid #2a2a2a;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

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

.screen {
    background: #f8f9fa;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.app-header {
    background: #fff;
    padding: 40px 20px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.app-header img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.app-header h3 {
    color: #000;
    font-size: 1rem;
    font-weight: 600;
}

.app-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 12px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eee;
}

.card-icon.analyze {
    background: #E53935;
}

.card-icon.lightbulb {
    background: #FF9500;
}

.card-lines {
    flex: 1;
    background: linear-gradient(90deg, #eee 30%, #fff 100%);
    border-radius: 8px;
}

.floating-ui {
    position: absolute;
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.item-1 {
    top: 300px;
    right: 20px;
}

.item-2 {
    top: 400px;
    left: 20px;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 24px;
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-box svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
}

.purple {
    background: linear-gradient(135deg, #6246EA 0%, #a48fff 100%);
}

.orange {
    background: linear-gradient(135deg, #FF9500 0%, #ffc166 100%);
}

.green {
    background: linear-gradient(135deg, #34C759 0%, #85ff9f 100%);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.step h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.step p {
    color: var(--gray);
    max-width: 250px;
    margin: 0 auto;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #3a22c5 100%);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/icon.png') no-repeat center center;
    opacity: 0.05;
    background-size: cover;
    filter: blur(50px);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.store-btn:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-buttons {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .hero-image {
        margin-top: 60px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-line {
        display: none;
    }
}

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

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

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Related Topics Section */
.related-topics {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.topic-link {
    display: block;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.topic-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.topic-link h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.topic-link p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.topic-arrow {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.topic-link:hover .topic-arrow {
    transform: translateX(5px);
}