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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --white: #ffffff;
    --flame-red: #ff3b2f;
    --flame-orange: #ff6b35;
    --flame-gold: #ffb347;
    --ember-glow: rgba(255, 107, 53, 0.3);
    --smoke: rgba(255, 255, 255, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--charcoal);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    background: linear-gradient(135deg, var(--flame-red), var(--flame-orange), var(--flame-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--flame-red), var(--flame-gold));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.ember {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.ember-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--flame-red), transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.ember-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--flame-orange), transparent);
    top: 60%;
    right: 15%;
    animation-delay: 7s;
}

.ember-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--flame-gold), transparent);
    bottom: 20%;
    left: 50%;
    animation-delay: 14s;
}

.smoke {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: drift 25s infinite ease-in-out;
}

.smoke-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--white), transparent);
    top: 30%;
    right: 20%;
    animation-delay: 0s;
}

.smoke-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--white), transparent);
    bottom: 30%;
    left: 20%;
    animation-delay: 12s;
}

.heat-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 107, 53, 0.03) 50%,
        transparent 100%
    );
    animation: shimmer 8s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--flame-orange) 50%, var(--flame-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--flame-red), var(--flame-orange), var(--flame-gold));
    color: var(--white);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 107, 53, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--flame-orange);
    transform: translateY(-2px);
}

/* Apps Section */
.apps {
    padding: 100px 20px;
    background: var(--charcoal-light);
    position: relative;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--white), var(--flame-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 400px;
    margin: 0 auto;
    justify-items: center;
}

.app-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.app-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--flame-red), var(--flame-gold));
    padding: 8px;
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.app-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.app-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-link {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    color: var(--flame-orange);
    text-decoration: none;
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 107, 53, 0.05);
}

.app-link:hover {
    background: rgba(255, 107, 53, 0.15);
    border-color: var(--flame-orange);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    text-align: center;
    background: var(--charcoal);
}

.contact-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.contact-email {
    font-size: 1.5rem;
    color: var(--flame-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--flame-gold);
}

/* Footer */
.footer {
    padding: 3rem 20px;
    background: var(--charcoal-light);
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    text-align: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-contact a {
    color: var(--flame-orange);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--flame-gold);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes drift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.25;
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-20px);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .app-card {
        padding: 2rem 1.5rem;
    }

    .ember {
        filter: blur(40px);
    }

    .ember-1, .ember-2, .ember-3 {
        width: 250px;
        height: 250px;
    }

    .smoke-1, .smoke-2 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }
}

