@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Background Pattern */
.bg-pattern {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    background-image: radial-gradient(#ff0000 1px, transparent 1px);
    background-size: 32px 32px;
}

.content-wrapper {
    position: relative;
    z-index: 10;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    padding: 1.5rem 1rem;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    height: 2rem;
    width: 2rem;
    color: #ef4444;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.125rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.nav-link:hover {
    color: #ef4444;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-outline {
    border: 1px solid #ef4444;
    color: #fff;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #ef4444;
    color: #000;
}

.btn-primary {
    background-color: #ef4444;
    color: #000;
}

.btn-primary:hover {
    background-color: #dc2626;
}

.btn-large {
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.5rem 2rem;
}

.btn-xl {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.75rem 2.5rem;
}

/* Hero Section */
.hero {
    padding: 12rem 1rem 8rem;
}

.hero-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.text-red {
    color: #ef4444;
}

.hero-description {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 42rem;
}

.hero-cta {
    margin-top: 1rem;
}

.hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 1rem;
    background-color: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(16px);
}

.glow {
    position: absolute;
    width: 4rem;
    height: 4rem;
    background-color: #ef4444;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.5;
}

.glow-top-left {
    top: -1rem;
    left: -1rem;
}

.glow-bottom-right {
    bottom: -1rem;
    right: -1rem;
}

.hero-card-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.hero-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.check-icon {
    height: 1.75rem;
    width: 1.75rem;
    color: #ef4444;
    flex-shrink: 0;
}

/* Sections */
.features,
.how-it-works {
    padding: 6rem 1rem;
    background-color: #000;
}

.tech-stack,
.cta {
    padding: 6rem 1rem;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.section-description {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-top: 1rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background-color: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.feature-card:hover {
    transform: scale(1.05);
    border-color: rgba(239, 68, 68, 0.5);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    height: 2.5rem;
    width: 2.5rem;
    color: #ef4444;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-description {
    font-size: 1.125rem;
    color: #d1d5db;
}

/* Tech Stack */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}

.tech-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.tech-icon-container {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(239, 68, 68, 0.2);
    transition: all 0.3s ease-in-out;
}

.tech-item:hover .tech-icon-container {
    border-color: rgba(239, 68, 68, 0.5);
}

.tech-name {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.step-card {
    position: relative;
    background-color: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fff;
    height: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    width: 3rem;
    height: 3rem;
    background-color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1.125rem;
    color: #d1d5db;
}

/* CTA Section */
.cta-card {
    text-align: center;
    background-color: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 1rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.2), transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.cta-description {
    font-size: 1.25rem;
    color: #d1d5db;
    margin: 1rem auto;
    max-width: 48rem;
}

.cta-button {
    margin: 2rem 0;
}

.cta-note {
    color: #9ca3af;
}

/* Footer */
.footer {
    padding: 3rem 1rem;
    background-color: #000;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-tagline {
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #9ca3af;
    transition: color 0.15s ease-in-out;
}

.social-link:hover {
    color: #ef4444;
}

.social-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.footer-link:hover {
    color: #ef4444;
}

.footer-bottom {
    margin-top: 3rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: #6b7280;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .nav {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        gap: 3rem;
    }
    
    .cta-card {
        padding: 4rem;
    }
    
    .cta-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 4rem;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cta-card {
        padding: 5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}