:root {
    /* Color Palette - Vibrant Dark Mode */
    --color-bg-base: #050511;
    --color-bg-alt: #0a0a1a;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    
    --color-primary: #8b5cf6;
    --color-secondary: #06b6d4;
    --color-accent: #f43f5e;
    
    --gradient-primary: linear-gradient(135deg, #8b5cf6, #06b6d4);
    --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(6, 182, 212, 0.5));
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(16px);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;
    
    /* Animation */
    --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;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-base);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Abstract Background Blobs */
.blob-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(0,0,0,0) 70%);
}

.blob-2 {
    bottom: 20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.1) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.05); }
    100% { transform: translate(-5%, 10%) scale(0.95); }
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50px;
    background: var(--gradient-glow);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
    filter: blur(10px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text-muted);
}

.btn-secondary:hover {
    border-color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a:not(.btn-primary) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
}

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

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Sections */
.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset navbar */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
}

.hero-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    padding: 1rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
    animation: float-image 6s ease-in-out infinite alternate;
}

@keyframes float-image {
    0% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0); }
    100% { transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) translateY(-15px); }
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

/* Grid layout */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(139, 92, 246, 0.3);
}

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--color-bg-base), transparent);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5));
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.card-link span {
    transition: transform 0.3s ease;
}

.card:hover .card-link span {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    position: relative;
}

.about-content {
    border-radius: 30px;
    padding: var(--space-2xl) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

/* About Section Mission Quote */
.about-mission {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.quote-card {
    border-radius: 24px;
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    border-color: rgba(139, 92, 246, 0.2);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-secondary);
    line-height: 1;
    position: absolute;
    top: -1.5rem;
    left: 1.5rem;
    opacity: 0.3;
}

.quote-text {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--glass-border);
    padding-top: var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-desc {
    color: var(--color-text-muted);
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: 1rem;
    max-width: 480px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: var(--space-lg);
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-contact-link:hover {
    color: var(--color-secondary);
}

.footer-contact-link svg {
    width: 20px;
    height: 20px;
}

.footer h4 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--color-text-muted);
}

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

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

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--glass-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto var(--space-lg);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real app, add a hamburger menu */
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}
