:root {
    /* Colors */
    --bg-dark: #0a0a0c;
    --bg-accent: #111114;
    --primary: #00d2ff;
    --primary-glow: rgba(0, 210, 255, 0.4);
    --secondary: #007bff;
    --text-main: #e0e0e0;
    --text-muted: #b0b0b0;
    --accent: #00d2ff;
    --white: #ffffff;

    /* Layout */
    --container-max: 1400px;
    --nav-height: 80px;

    /* Effects */
    --glass-bg: rgba(18, 18, 22, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #2a2a2e;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-three-js {
    background: radial-gradient(circle at top right, #111114, var(--bg-dark));
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* 3D Canvas Background */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2000;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: -1px;
}

.accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

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

.nav-links a.btn {
    color: var(--bg-dark);
}

.nav-links a.btn:hover {
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.6), var(--bg-dark) 95%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(90deg, #00d2ff, #007bff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-5px);
}

.btn-hero {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 8rem 0;
}

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

.section-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
}

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

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
}

.glass:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.offer-card {
    display: flex;
    flex-direction: column;
}

.offer-card.highlight {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(58, 123, 213, 0.1));
    border-color: rgba(0, 210, 255, 0.3);
}

.card-icon {
    margin-bottom: 2rem;
    color: var(--primary);
}

.card-icon svg {
    width: 48px;
    height: 48px;
}

.offer-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    hyphens: auto;
}

.card-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.card-list {
    list-style: none;
    margin-top: auto;
}

.card-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* About Me */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image .image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 24px;
    background: var(--glass-bg);
    border: 2px solid var(--primary);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary);
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
}

.about-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-s.contact-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.spline-container {
    width: 100%;
    height: 300px;
    margin: 2rem 0;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

#spline-wrapper a {
    display: none !important;
}

#canvas3d {
    width: 100% !important;
    height: 100% !important;
    touch-action: none;
}

.spline-fallback-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    color: var(--text-muted);
    padding: 2rem;
    z-index: 5;
}

.spline-fallback-overlay p {
    margin: 0;
    font-size: 0.9rem;
}

.spline-fallback-overlay small {
    color: var(--accent);
    opacity: 0.8;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(90deg, var(--white), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.2rem;
}

.stat-label {
    color: var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.9;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    overflow: hidden;
}

.contact-info {
    padding: 4rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.info-items {
    margin-top: 2rem;
}

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

.info-item svg {
    color: var(--primary);
}

.contact-form {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

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

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 2px;
    height: 8px;
    background: var(--primary);
    border-radius: 1px;
    animation: scroll 2s infinite ease-in-out;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Media Queries */
@media (max-width: 992px) {

    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 3rem 2rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .nav-links {
        display: none;
        /* Hide on mobile for simplicity, could add mobile menu */
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }
}
