@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #050508;
    --bg-surface: rgba(20, 20, 30, 0.6);
    --bg-surface-hover: rgba(30, 30, 45, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);

    --accent-cyan: #00f0ff;
    --accent-purple: #8a2be2;
    --accent-blue: #0077ff;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --nav-bg: rgba(5, 5, 8, 0.8);
    --footer-bg: #020204;
    --btn-text: #000;
    --input-bg: rgba(255, 255, 255, 0.05);
    --section-alt-bg: rgba(255, 255, 255, 0.03);

    --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --gradient-secondary: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-hover: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);

    --accent-cyan: #0070f3;
    --accent-purple: #7928ca;
    --accent-blue: #0055cc;

    --text-main: #0f172a;
    --text-muted: #475569;

    --nav-bg: rgba(248, 250, 252, 0.85);
    --footer-bg: #e2e8f0;
    --btn-text: #fff;
    --input-bg: rgba(0, 0, 0, 0.05);
    --section-alt-bg: rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Background animated glow */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    animation: float 20s infinite alternate ease-in-out;
}

body::before {
    top: -10vw;
    left: -10vw;
    background: radial-gradient(circle, var(--accent-cyan), transparent 60%);
}

body::after {
    bottom: -10vw;
    right: -10vw;
    background: radial-gradient(circle, var(--accent-purple), transparent 60%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5vw, 5vw) scale(1.1);
    }
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-gradient-sec {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

section {
    padding: 100px 0;
    position: relative;
}

.alt-section {
    background: var(--section-alt-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

@media (hover: hover) {
    .glass-panel:hover {
        transform: translateY(-5px);
        border-color: rgba(138, 43, 226, 0.4);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 43, 226, 0.2);
    }
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li.btn-container a {
    color: var(--btn-text);
    border-bottom: none !important;
}

.nav-links li.btn-container a::after {
    display: none;
}

.nav-links li a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--gradient-primary);
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

@media (hover: hover) {
    .nav-links li a:hover {
        color: var(--accent-cyan);
    }

    .nav-links li a:not(.btn):hover::after,
    .nav-links li a:not(.btn).active::after {
        width: 100%;
    }
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--btn-text) !important;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

@media (hover: hover) {
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
        filter: brightness(1.1);
        color: var(--btn-text) !important;
    }
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent-cyan);
}

@media (hover: hover) {
    .btn-outline:hover {
        background: rgba(0, 240, 255, 0.1);
        color: var(--text-main);
    }
}

/* Theme & Mobile Buttons */
#theme-toggle {
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobile-menu-btn {
    display: none;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    cursor: pointer;
    width: 40px;
    height: 40px;
}



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), rgba(138, 43, 226, 0.4));
    border-radius: 12px;
    transform: rotate(15deg);
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 65%;
    left: 20%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4), rgba(0, 119, 255, 0.4));
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 10%;
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.4), rgba(0, 240, 255, 0.4));
    border-radius: 30px;
    transform: rotate(-10deg);
}

.shape-4 {
    width: 60px;
    height: 60px;
    top: 75%;
    right: 25%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4), rgba(0, 240, 255, 0.4));
    border-radius: 8px;
    transform: rotate(45deg);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Feature Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.grid>a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    border: 1px solid var(--glass-border);
}

.glass-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.glass-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 20px;
    transition: background-color 0.4s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    #mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        padding: 30px;
        border-bottom: 1px solid var(--glass-border);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* Utility for Pages */
.page-header {
    padding: 150px 0 50px;
    text-align: center;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-section p,
.content-section ul {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.content-section ul {
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 10px;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

select option {
    color: #000;
    background: #fff;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-cyan);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(138, 43, 226, 0.2);
    color: var(--accent-purple);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(138, 43, 226, 0.4);
}

/* Testimonials Marquee */
.testimonials-section {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-dark);
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 45s linear infinite;
    padding: 20px 0;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
    .testimonial-card:hover {
        transform: translateY(-5px);
        border-color: var(--accent-purple);
    }
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-purple);
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
}

.testimonial-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: #ffd700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    font-style: italic;
}