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

:root {
    /* Speed & Modern Palette */
    --primary: #00D2FF;
    --primary-dark: #3A7BD5;
    --secondary: #00ddeb;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient-speed: linear-gradient(135deg, #00D2FF 0%, #3A7BD5 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.15) 0%, transparent 50%);

    --shadow-card: 0 10px 30px -10px rgba(0, 210, 255, 0.2);
    --shadow-hover: 0 20px 40px -10px rgba(0, 210, 255, 0.4);
}

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

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

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

/* Mobile Menu Button - Hidden by default on desktop */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

/* Header */
header {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 50px;
    /* Increased from restrictive max-height */
    width: auto;
    object-fit: contain;
}

.header-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-speed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-style: italic;
}

/* ... */

/* Steps Section Overlap Fix */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 6rem;
    position: relative;
}

/* Connector Line */
.steps::before {
    content: '';
    position: absolute;
    top: 30px;
    /* Aligned with center of 60px circles */
    left: 15%;
    right: 15%;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
}

.step-card>div:first-child {
    /* The circle element */
    position: relative;
    z-index: 2;
    /* Ensure circle sits ON TOP of the line */
    background: white;
    /* Ensure it has a background to cover the line if needed */
    box-shadow: 0 0 0 10px white;
    /* Optional: creates a gap effect around the circle */
}

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

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

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

/* Buttons */
.cta-button {
    background: var(--gradient-speed);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 123, 213, 0.3);
    border: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(58, 123, 213, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: var(--white);
    overflow: hidden;
}

/* Speed Background Element */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.03) 0%, rgba(58, 123, 213, 0.08) 100%);
    transform: rotate(-15deg);
    z-index: 0;
    border-left: 1px solid rgba(0, 210, 255, 0.1);
}

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

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-text h1 span {
    background: var(--gradient-speed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-style: italic;
    padding-right: 0.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    perspective: 1000px;
}

#hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-image:hover #hero-img {
    transform: rotateY(0) rotateX(0);
}

/* Floating Cards with Speed Motion */
.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.card-1 {
    top: 15%;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -40px;
    animation-delay: 1.5s;
}

@keyframes float {

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

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

/* Slanted Divider */
.skew-divider {
    height: 100px;
    background: var(--darker);
    transform: skewY(-3deg);
    margin-bottom: -50px;
    position: relative;
    z-index: 2;
}

/* Features Section - Dark Mode feel for contrast */
.features {
    background: var(--darker);
    color: white;
    padding: 8rem 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    z-index: 0;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00D2FF 0%, #3A7BD5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #94a3b8;
}

/* Pricing Section */
#pricing {
    padding: 6rem 0;
    background: var(--light);
}

#pricing .feature-card {
    background: white;
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#pricing .feature-card:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

/* CTA / Contact Section */
.cta-section {
    background: var(--darker);
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d2ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.cta-section h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--gradient-speed);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

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

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

    .floating-card {
        display: none;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: none;
        /* Add JS toggle in future */
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem 0;
        background: white;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--dark);
        cursor: pointer;
    }
}