/* Vidaptic Design System - Vanilla CSS Version */

/* CSS Variables - Core Brand Colors */
:root {
    /* Core Brand Colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(220, 25%, 8%);
    
    /* Card System */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 25%, 8%);
    --card-hover: hsl(220, 15%, 98%);
    
    /* Primary Brand - Deep Tech Blue */
    --primary: hsl(220, 90%, 15%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-hover: hsl(220, 85%, 20%);
    
    /* Secondary - Light Tech Blue */
    --secondary: hsl(220, 15%, 96%);
    --secondary-foreground: hsl(220, 25%, 8%);
    
    /* Muted Tones */
    --muted: hsl(220, 15%, 96%);
    --muted-foreground: hsl(220, 10%, 45%);
    
    /* Accent - Vibrant Cyan */
    --accent: hsl(180, 100%, 50%);
    --accent-foreground: hsl(220, 25%, 8%);
    --accent-hover: hsl(180, 90%, 45%);
    
    /* Status Colors */
    --destructive: hsl(0, 84%, 60%);
    --success: hsl(142, 76%, 36%);
    
    /* UI Elements */
    --border: hsl(220, 13%, 91%);
    --input: hsl(220, 13%, 91%);
    --ring: hsl(180, 100%, 50%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(220, 90%, 15%), hsl(260, 85%, 25%), hsl(180, 90%, 45%));
    --gradient-secondary: linear-gradient(135deg, hsl(220, 15%, 96%), hsl(220, 10%, 98%));
    --gradient-accent: linear-gradient(135deg, hsl(180, 100%, 50%), hsl(200, 95%, 55%));
    --gradient-hero: linear-gradient(135deg, hsl(220, 90%, 15%) 0%, hsl(260, 85%, 25%) 50%, hsl(180, 90%, 45%) 100%);
    
    /* Shadows */
    --shadow-primary: 0 10px 40px -10px hsla(220, 90%, 15%, 0.3);
    --shadow-accent: 0 10px 40px -10px hsla(180, 100%, 50%, 0.2);
    --shadow-glass: 0 8px 32px 0 hsla(220, 90%, 15%, 0.1);
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    --radius: 0.5rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.btn-accent {
    background: var(--accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: var(--muted);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Navigation Styles */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 220, 220, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.nav-logo .logo-img {
    height: 2rem;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    margin: 2px 0;
    transition: var(--transition-smooth);
}

.mobile-nav {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(220, 220, 220, 0.5);
    padding: 1rem 0;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--accent);
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid rgba(220, 220, 220, 0.3);
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-small {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    top: 5rem;
    left: 2.5rem;
    width: 0.5rem;
    height: 0.5rem;
}

.particle-2 {
    top: 10rem;
    right: 5rem;
    width: 0.75rem;
    height: 0.75rem;
    animation-delay: 1s;
}

.particle-3 {
    bottom: 8rem;
    left: 25%;
    width: 0.25rem;
    height: 0.25rem;
    animation-delay: 2s;
}

.particle-4 {
    bottom: 5rem;
    right: 33%;
    width: 0.5rem;
    height: 0.5rem;
    animation-delay: 0.5s;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 50rem;
    padding: 2rem 0;
    margin: 0 auto;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-logo-img {
    width: 80%;
    max-width: 48rem;
    height: auto;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 0;
}

.hero-logo-img {
    max-width: 400px;
    width: 100%;
}

.hero-text-content {
    max-width: 800px;
}

.hero-content {
    max-width: 100%;
    padding: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title-accent {
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto 3rem;
}

.hero-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.hero-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.hero-feature-icon {
    background: rgba(var(--accent), 0.2);
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.hero-feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--accent);
}

.hero-feature-title {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.hero-feature-desc {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Features Section */
.features {
    padding: 4rem 0 6rem 0;
    background: rgba(var(--secondary), 0.5);
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.features-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.features-title-accent {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--card);
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glass);
    height: 100%;
}

.feature-card:hover {
    background: var(--card-hover);
    transform: scale(1.05);
    box-shadow: var(--shadow-glass);
}

.feature-icon {
    background: var(--gradient-primary);
    padding: 1.25rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.features-cta {
    text-align: center;
    margin-top: 4rem;
}

.features-cta-content {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.features-cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.features-cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.features-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--background);
}

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

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.about-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-placeholder {
    width: 100%;
    height: 300px;
    background: rgba(var(--accent), 0.1);
    border: 2px dashed rgba(var(--accent), 0.3);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--muted-foreground);
}

.placeholder-icon {
    color: rgba(var(--accent), 0.5);
    margin-bottom: 1rem;
}

.about-values {
    margin-top: 4rem;
}

.values-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: rgba(var(--secondary), 0.3);
    border-radius: 1rem;
    border: 1px solid rgba(var(--border), 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: rgba(var(--secondary), 0.5);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(var(--accent), 0.1);
    border-radius: 50%;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: rgba(var(--secondary), 0.5);
}

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

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
}

.contact-items {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(var(--accent), 0.1);
    border-radius: 0.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--muted-foreground);
    line-height: 1.5;
}

.contact-social h4 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(var(--accent), 0.1);
    border-radius: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: var(--accent-foreground);
    transform: translateY(-2px);
}

.contact-form-centered {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

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

.contact-form label {
    display: block;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--background);
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent), 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: rgb(34, 197, 94);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: rgb(239, 68, 68);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
    
    .features-cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .features-cta-title {
        font-size: 1.875rem;
    }
}

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

    .nav-content {
        padding: 0 1rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: clamp(3rem, 8vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-placeholder {
        height: 200px;
    }
}
