﻿:root {
    /* Color Palette - Deep Purple & Teal Harmony */
    --color-bg: #0f0f1a;
    --color-surface: #1a1a2e;
    --color-surface-hover: #252542;
    --color-primary: #7c3aed;
    --color-primary-glow: rgba(124, 58, 237, 0.4);
    --color-accent: #06b6d4;
    --color-accent-glow: rgba(6, 182, 212, 0.3);
    --color-text-main: #f1f5f9;
    --color-text-muted: #94a3b8;
    --color-border: #2d2d4a;

    /* Spacing & Sizes */
    --container-max: 1200px;
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 16px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(124, 58, 237, 0.2), 0 10px 10px -5px rgba(6, 182, 212, 0.1);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);
    --glass: rgba(26, 26, 46, 0.95);
    --glass-border: rgba(124, 58, 237, 0.2);
}

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

body {
    font-family: 'Outfit', sans-serif;
    /* Fallback if not loaded, link in HTML */
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    color: var(--color-text-main);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin-top: 0.5rem;
    border-radius: 2px;
}

p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px -1px rgba(124, 58, 237, 0.15);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.desktop-btn {
    padding: 10px 24px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background:
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    animation: fadeIn 1s ease-out;
    z-index: 2;
    position: relative;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.hero-feature-item i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.floating-card {
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 0 30px var(--color-primary-glow);
}

.floating-card h3 {
    font-size: 1.2rem;
    margin: 16px 0 8px;
    color: var(--color-text-main);
}

.floating-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

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

.btn-outline {
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: #0f0f1a;
    border-color: var(--color-accent);
}

/* Sections General */
section {
    padding: 100px 0;
    position: relative;
}

/* About / Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon {
    font-size: 2rem;
    color: var(--color-primary);
}

/* Projects Section */
.project-card {
    display: flex;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    margin-top: 48px;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.project-image {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.project-image img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    /* App icon style */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

.project-details {
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    font-size: 0.8rem;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-primary);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 24px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.vision-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Features Section */
.features-section {
    background: rgba(26, 26, 46, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}



/* Vision Section */
.vision-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #252542 100%);
    color: var(--color-text-main);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    padding: 60px 0;
    text-align: center;
    border-top: 2px solid var(--glass-border);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
    color: var(--color-text-main);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
}

.social-link {
    color: var(--color-text-muted);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--color-primary);
}

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

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(15, 15, 26, 0.98);
        border-bottom: 1px solid var(--glass-border);
        padding: 24px;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .desktop-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .project-card {
        flex-direction: column;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: none;
    }

    .hero::before,
    .hero::after {
        font-size: 120px;
        opacity: 0.5;
    }

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

    .mobile-show {
        display: block !important;
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-top: 4px;
}

.contact-item h4 {
    color: var(--color-text-main);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: var(--color-text-main);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

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

/* Honeypot - Hidden from users */
.honeypot {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Captcha Styling */
.captcha-group {
    background: rgba(124, 58, 237, 0.1);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.captcha-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.captcha-group label i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.captcha-question {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.captcha-group input {
    margin-top: 12px;
}

/* Form Message */
.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* Mobile responsive for contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--color-primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
    box-shadow: 0 0 15px var(--color-primary-glow);
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    z-index: 990;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-5px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-surface);
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
    padding: 16px 0;
    z-index: 995;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}/ *   P r o c e s s   T i m e l i n e   S e c t i o n   * / 
/* Process Timeline Section */
.process-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    gap: 20px;
}

/* Connecting Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-border);
    z-index: 0;
    transform: translateY(-50%);
}

.process-step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    background: var(--color-bg);
    /* Mask the line behind */
    padding: 0 10px;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-text-muted);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 0 0 8px var(--color-bg);
    /* Gap for line */
}

/* Step Number Badge */
.step-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: var(--color-surface);
    border: 2px solid var(--glass-border);
    color: var(--color-text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.4s ease;
}

.process-step:hover .step-icon {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--color-primary-glow), 0 0 0 8px var(--color-bg);
}

.process-step:hover .step-number {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* Mobile Responsive Process */
@media (max-width: 992px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
        padding-left: 30px;
    }

    .process-steps::before {
        width: 4px;
        height: 100%;
        top: 0;
        left: 30px;
        /* Align with left padding */
        transform: translate(-50%, 0);
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        padding: 0;
        background: transparent;
    }

    .step-icon {
        margin: 0;
        min-width: 80px;
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}
