:root {
    --bg-primary: #05070a;
    --bg-secondary: #0d1117;
    --accent: #00e5c3;
    --accent-glow: rgba(0, 229, 195, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border: rgba(255, 255, 255, 0.08);
}

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

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

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

.accent {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-glow);
}

.logo-text {
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.9rem;
}

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

.btn-primary {
    background: var(--accent);
    color: black !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 800 !important;
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    gap: 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-mockup {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup img {
    width: 100%;
    max-width: 500px;
    z-index: 2;
    filter: drop-shadow(0 0 50px rgba(0, 229, 195, 0.2));
}

.glow-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.5; }
    to { transform: scale(1.3); opacity: 0.8; }
}

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

.btn-large {
    background: white;
    color: black;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.3s;
}

.btn-large:hover {
    transform: translateY(-5px);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Features */
.features {
    padding: 10rem 10%;
    background: var(--bg-secondary);
}

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

.section-title h2 {
    font-size: 3rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 30px;
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(0, 229, 195, 0.03);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--text-secondary);
}

/* Showcase Section */
.showcase {
    padding: 10rem 10%;
    background: var(--bg-primary);
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 5rem;
}

.showcase-row-3, .showcase-row-2 {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.app-screenshot {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    border-radius: 40px;
    overflow: hidden;
    border: 4px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--bg-secondary);
}

.app-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.app-screenshot:hover {
    transform: translateY(-20px) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 30px 60px var(--accent-glow);
}

.app-screenshot:hover img {
    transform: scale(1.1);
}

/* Legal Section */
.legal-section {
    padding: 5rem 10%;
    max-width: 1000px;
    margin: 4rem auto;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.5s ease;
}

.legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
}

.legal-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.toggle-icon {
    font-size: 2rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.legal-container {
    max-height: 0;
    opacity: 0;
    transition: all 0.5s ease;
    padding: 0 2rem;
}

.legal-section.expanded .legal-container {
    max-height: 1000px;
    opacity: 1;
    padding: 2rem;
}

.legal-section.expanded .toggle-icon {
    transform: rotate(45deg);
}

.legal-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--accent);
    color: black;
    border-color: var(--accent);
}

.legal-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
    height: 400px;
    overflow-y: auto;
    font-size: 0.9rem;
}

.legal-box h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.legal-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Footer */
footer {
    padding: 5rem 10%;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 30px;
}

.footer-logo span {
    font-weight: 800;
    letter-spacing: 2px;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.support-mail {
    color: var(--accent) !important;
    font-weight: bold;
    margin-top: 1rem;
}

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s ease-out; }
.reveal-up { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }

.active-reveal {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Particles */
.particle {
    position: fixed;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    50% { opacity: 0.2; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding-top: 150px; height: auto; }
    .hero h1 { font-size: 3.5rem; }
    .hero p { margin: 0 auto 2.5rem; }
    .hero-btns { justify-content: center; }
    .hero-mockup { margin-top: 5rem; }
}
