/* Base */
:root {
    /* Colors - Dark Theme */
    --color-bg: #1E1B2E;
    --color-bg-secondary: #2A2639;
    --color-text: #FFFFFF;
    --color-text-secondary: rgba(255, 255, 255, 0.85);
    --color-primary: #00ffd9;
    --color-primary-dark: #005548;  /* Darkened for better contrast */
    --color-primary-darker: #004438;  /* Even darker for hover states */
    --color-secondary: #ff69b4;
    --color-accent: #8c42ff;
    --color-border: rgba(255, 255, 255, 0.2);
    --color-card: rgba(255, 255, 255, 0.08);
    --color-overlay: rgba(0, 0, 0, 0.6);
    
    /* Colors - Light Theme */
    --color-bg-light: #FFFFFF;
    --color-bg-secondary-light: #F5F5F7;
    --color-text-light: #1E1B2E;
    --color-text-secondary-light: rgba(30, 27, 46, 0.85);
    --color-primary-light: #005548;  /* Darkened for better contrast */
    --color-primary-dark-light: #004438;  /* Darker variant for hover */
    --color-secondary-light: #d10053;
    --color-accent-light: #4a00b3;
    --color-border-light: rgba(30, 27, 46, 0.2);
    --color-card-light: rgba(30, 27, 46, 0.08);
    --color-overlay-light: rgba(255, 255, 255, 0.6);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 3rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    line-height: 1.5;
    background-color: var(--color-bg);
    color: var(--color-text);
    transition: background-color var(--transition-base), color var(--transition-base);
}

body.light-theme {
    background-color: var(--color-bg-light);
    color: var(--color-text-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(30, 27, 46, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background var(--transition-base);
}

.light-theme .nav {
    background: rgba(255, 255, 255, 0.8);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    color: inherit;
}

.nav__logo img {
    width: 40px;
    height: 40px;
}

.nav__logo span {
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav__menu a {
    text-decoration: none;
    color: var(--color-text);
    transition: color var(--transition-base);
    font-weight: 500;
}

.light-theme .nav__menu a {
    color: var(--color-text-light);
}

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

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 4px 0;
    transition: all var(--transition-base);
}

.light-theme .nav__toggle span {
    background: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Navigation Button Specific Styles */
.nav__menu .btn--primary {
    background: var(--color-primary-dark);
    color: white;  /* Always use white text for better contrast */
    font-weight: 600;
}

.nav__menu .btn--primary:hover {
    background: var(--color-primary-darker);
    transform: translateY(-2px);
}

.light-theme .nav__menu .btn--primary {
    background: var(--color-primary-light);
    color: white;  /* Consistent white text */
}

.light-theme .nav__menu .btn--primary:hover {
    background: var(--color-primary-dark-light);
}

/* Regular Button Styles */
.btn--primary {
    background: var(--color-primary-dark);
    color: white;  /* Always use white text for better contrast */
    font-weight: 600;
}

.btn--primary:hover {
    background: var(--color-primary-darker);
    transform: translateY(-2px);
}

.light-theme .btn--primary {
    background: var(--color-primary-light);
    color: white;  /* Consistent white text */
}

.light-theme .btn--primary:hover {
    background: var(--color-primary-dark-light);
}

.btn--secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
}

.btn--secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

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

.light-theme .btn--secondary:hover {
    background: var(--color-primary-light);
    color: white;
}

.light-theme .gradient-text {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.hero__subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.light-theme .hero__subtitle {
    color: var(--color-text-secondary-light);
}

.hero__cta {
    display: flex;
    gap: var(--spacing-md);
}

.hero__visual {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.particle-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

/* Solutions Section */
.solutions {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-bg-secondary);
}

.light-theme .solutions {
    background: var(--color-bg-secondary-light);
}

.solutions__container {
    max-width: 1200px;
    margin: 0 auto;
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.solution-card {
    background: var(--color-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    transition: transform var(--transition-base);
}

.light-theme .solution-card {
    background: var(--color-card-light);
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.light-theme .solution-card__icon {
    color: var(--color-primary-light);
}

.solution-card h3 {
    margin-bottom: var(--spacing-sm);
}

.solution-card p {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.light-theme .solution-card p {
    color: var(--color-text-secondary-light);
}

/* Innovation Section */
.innovation {
    padding: var(--spacing-xl) var(--spacing-md);
}

.innovation__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.innovation__features {
    display: grid;
    gap: var(--spacing-md);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.feature__icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
}

.light-theme .feature__icon {
    color: var(--color-primary-light);
}

.feature h3 {
    margin-bottom: var(--spacing-xs);
}

.feature p {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.light-theme .feature p {
    color: var(--color-text-secondary-light);
}

/* About Section */
.about {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-bg-secondary);
}

.light-theme .about {
    background: var(--color-bg-secondary-light);
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
}

.about__text {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    font-size: var(--font-size-lg);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    text-align: center;
}

.stat__number {
    font-family: var(--font-primary);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.light-theme .stat__number {
    color: var(--color-primary-light);
}

.stat__label {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.light-theme .stat__label {
    color: var(--color-text-secondary-light);
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) var(--spacing-md);
}

.contact__container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact__form {
    display: grid;
    gap: var(--spacing-md);
}

.form-group {
    display: grid;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-secondary);
    color: var(--color-text);
    font-family: inherit;
    transition: border-color var(--transition-base);
}

.light-theme .form-group input,
.light-theme .form-group textarea {
    background: var(--color-bg-secondary-light);
    color: var(--color-text-light);
    border-color: var(--color-border-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact__info {
    display: grid;
    gap: var(--spacing-md);
    align-content: start;
}

.info-item {
    display: grid;
    gap: var(--spacing-xs);
}

.info-item svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

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

.info-item h3 {
    font-size: var(--font-size-lg);
}

.info-item p {
    color: var(--color-text-secondary);
}

.light-theme .info-item p {
    color: var(--color-text-secondary-light);
}

/* Footer */
.footer {
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    background: var(--color-bg-secondary);
}

.light-theme .footer {
    background: var(--color-bg-secondary-light);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.footer__brand {
    display: grid;
    gap: var(--spacing-sm);
}

.footer__brand img {
    width: 32px;
    height: 32px;
}

.footer__brand p {
    color: var(--color-text-secondary);
}

.light-theme .footer__brand p {
    color: var(--color-text-secondary-light);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.footer__column {
    display: grid;
    gap: var(--spacing-sm);
}

.footer__column h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.footer__column a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.light-theme .footer__column a {
    color: var(--color-text-secondary-light);
}

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

.footer__bottom {
    max-width: 1200px;
    margin: var(--spacing-lg) auto 0;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.light-theme .footer__bottom {
    border-color: var(--color-border-light);
    color: var(--color-text-secondary-light);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -55%);
    }
}

/* Theme-specific elements */
.logo-dark {
    display: block;
}

.logo-light {
    display: none;
}

.light-theme .logo-dark {
    display: none;
}

.light-theme .logo-light {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --font-size-3xl: 2.5rem;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__cta {
        justify-content: center;
    }
    
    .innovation__container {
        grid-template-columns: 1fr;
    }
    
    .hero__visual {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        padding: var(--spacing-md);
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    .light-theme .nav__menu {
        background: var(--color-bg-light);
    }
    
    .nav__menu.active {
        display: flex;
    }
    
    .nav__toggle {
        display: block;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__visual {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .hero__cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-3xl: 2rem;
        --spacing-xl: 4rem;
    }
    
    .about__stats {
        grid-template-columns: 1fr;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
    
    .hero__visual {
        width: 250px;
        height: 250px;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: var(--spacing-lg);
    animation: fadeIn 0.5s ease-out;
}

.form-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
}

.form-success__icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-primary);
    animation: checkmark 0.5s ease-out forwards;
}

.light-theme .form-success__icon svg {
    color: var(--color-primary-light);
}

.form-success__title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.light-theme .form-success__title {
    color: var(--color-text-light);
}

.form-success__text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-lg);
}

.light-theme .form-success__text {
    color: var(--color-text-secondary-light);
}

@keyframes checkmark {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 