@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #00FF94;
    --dark-bg: #0A0A0A;
    --darker-bg: #050505;
    --card-bg: #111111;
    --text-color: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #00FF94, #00FFB2);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.lead {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at 50% 50%, var(--card-bg) 0%, var(--darker-bg) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

/* Logo */
.logo-container {
    margin-bottom: 3rem;
}

.logo {
    width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: scaleIn 1s ease forwards;
}

/* Stats Section */
.tech-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.stat-item {
    text-align: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

/* Cards */
.tech-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.tech-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    animation: scaleIn 1s ease forwards;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
}

.form-control {
    width: 100%;
    background: transparent !important;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.75rem 0;
    color: var(--text-color) !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: none;
    background: transparent !important;
    color: var(--text-color) !important;
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-color) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--card-bg) inset;
    transition: background-color 5000s ease-in-out 0s;
    color: var(--text-color) !important;
}

.form-label {
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: 'Space Grotesk', sans-serif;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -1rem;
    font-size: 0.875rem;
    color: var(--primary-color);
}

/* Select Styling */
.select-wrapper {
    position: relative;
}

.form-select {
    background: transparent !important;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.75rem 0;
    color: var(--text-color) !important;
    width: 100%;
    cursor: pointer;
    appearance: none;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: none;
    background: transparent !important;
    color: var(--text-color) !important;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.75rem;
    pointer-events: none;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
}

.submit-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-darker {
    background: var(--darker-bg);
}

.section-padding {
    padding: 5rem 0;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    h2 {
        font-size: 2rem;
    }

    .tech-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .logo {
        width: 140px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 0;
    }

    .tech-card {
        padding: 1.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #FFFFFF;
        --text-secondary: rgba(255, 255, 255, 0.7);
    }
}

/* Add to your existing CSS */

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease forwards;
    font-family: 'Space Grotesk', sans-serif;
}

.notification.success {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.notification.error {
    background: #ff4646;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Update submit button styles for disabled state */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Contact Page Specific Styles */
.contact-hero {
    min-height: 50vh; /* Shorter hero section for contact page */
    padding: 2rem 0;
}

.contact-info-section {
    padding: 5rem 0;
}

.contact-info-section .tech-card {
    text-align: center;
    padding: 2rem;
}

.contact-info-section .tech-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-info-section .tech-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* Make logo clickable */
.logo-container a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-container a:hover {
    transform: scale(1.05);
}

/* Terms and Privacy Pages Styles */
.terms-content,
.privacy-content {
    color: var(--text-color);
}

.terms-content h2,
.privacy-content h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.terms-content h3,
.privacy-content h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.terms-content p,
.privacy-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.terms-content ul,
.privacy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.terms-content ul li,
.privacy-content ul li {
    margin-bottom: 0.5rem;
}

.terms-content h2:first-child,
.privacy-content h2:first-child {
    margin-top: 0;
}