:root {
    --primary: #1f4fd8;
    --primary-dark: #0f2a7a;
    --accent: #ff7a18;
    --accent-light: #ff9d52;
    --ai-blue: #00d4ff;
    --ai-purple: #8a2be2;
    --ai-glow: rgba(0, 212, 255, 0.4);
    --dark-bg: #06080f;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --white: #ffffff;
    --light-bg: #f0f4ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

h1,
h2,
h3,
h4,
.section-title {
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--white);
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- AI VIBE GLOBAL ELEMENTS --- */
.ai-highlight {
    color: #111;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.stars-highlight {
    color: var(--accent);
}



.ai-badge {
    background: linear-gradient(135deg, rgba(31, 79, 216, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid var(--ai-blue);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.ai-section {
    position: relative;
    padding: 120px 20px;
}

.ai-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(31, 79, 216, 0.08) 1.5px, transparent 0);
    background-size: 40px 40px;
    z-index: -1;
}

/* --- NAVBAR --- */
.stars-nav {
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stars-logo {
    height: 45px;
}

/* --- HERO SECTION --- */
.hero-stars {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(31, 79, 216, 0.05), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 122, 24, 0.05), transparent 40%),
        radial-gradient(#e0e0e0 0.8px, transparent 0.8px);
    background-size: 100% 100%, 100% 100%, 30px 30px;
    position: relative;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-stars h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    color: #111;
    font-family: 'Inter', sans-serif;
}

.hero-stars .subheadline {
    font-size: 1.25rem;
    color: #444;
    margin-bottom: 45px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Image container removed from hero */

/* --- BUTTONS --- */
.btn-stars {
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 15px 35px rgba(31, 79, 216, 0.4);
}

.btn-primary:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(31, 79, 216, 0.5);
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-8px);
}

/* --- CARDS & GRIDS --- */
.section-title {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 80px;
    font-weight: 700;
    color: #111;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.vibrant-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.vibrant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 0;
    background: var(--primary);
    transition: height 0.4s ease;
}

.vibrant-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(31, 79, 216, 0.12);
}

.vibrant-card:hover::before {
    height: 100%;
}

.vibrant-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #111;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.vibrant-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary);
}

/* --- IMAGE + TEXT SECTIONS --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.split-section.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.image-rounded {
    border-radius: 30px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* --- TECHNOLOGY SECTION (DARK) --- */
.tech-section {
    background: var(--dark-bg);
    color: white;
    border-radius: 50px;
    margin: 40px 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--ai-blue);
    transform: scale(1.03);
}

/* --- STEP JOURNEY --- */
.modern-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    position: relative;
}

.modern-step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid #eee;
    transition: all 0.3s ease;
}

.modern-step-card:hover {
    border-bottom-color: var(--primary);
    transform: translateY(-5px);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(31, 79, 216, 0.15);
    display: block;
    margin-bottom: 15px;
}

/* --- CTA STRIP --- */
.cta-vibrant {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--ai-purple));
    color: white;
    border-radius: 50px;
    margin: 60px 20px;
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-vibrant::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.2) 0%, transparent 70%);
}

.cta-vibrant h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 30px;
    line-height: 1.1;
}

/* --- ANIMATIONS --- */
.scanline {
    width: 100%;
    height: 100px;
    z-index: 10;
    background: linear-gradient(0deg,
            rgba(0, 212, 255, 0) 0%,
            rgba(0, 212, 255, 0.15) 50%,
            rgba(0, 212, 255, 0) 100%);
    opacity: 0.2;
    position: absolute;
    bottom: 100%;
    left: 0;
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        bottom: 120%;
    }

    100% {
        bottom: -200px;
    }
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 968px) {

    .hero-grid,
    .split-section,
    .split-section.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-container {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-stars {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .btn-stars {
        width: 100%;
    }
}

/* --- MODAL POPUP --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 8, 15, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    position: relative;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    border: 1px solid rgba(31, 79, 216, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
    background: white;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f5f5f5;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #eee;
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #111;
}

.modal-header p {
    color: #666;
    font-size: 1rem;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #444;
}

.modal-form input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 2px solid #eee;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.modal-form input:focus {
    border-color: var(--primary);
    background: rgba(31, 79, 216, 0.02);
    box-shadow: 0 0 0 4px rgba(31, 79, 216, 0.1);
}

.form-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
}

.form-status-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: #e6fffa;
    color: #38b2ac;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(56, 178, 172, 0.2);
}

.hidden {
    display: none !important;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 40px 20px;
    }
}

.tech-icon {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover .tech-icon {
    background: rgba(0, 212, 255, 0.2);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 20px var(--ai-glow);
}
