﻿:root {
    --bg-dark: #0f172a;
    /* Deep Matte Slate */
    --bg-alt: #1e293b;
    /* Lighter Slate for depth */
    --text-primary: #f8fafc;
    /* Soft off-white */
    --text-secondary: #94a3b8;
    /* Muted slate */
    --accent: #3b82f6;
    /* Vibrant Royal Blue */
    --accent-glow: rgba(59, 130, 246, 0.15);
    --glass: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(148, 163, 184, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    --shadow-deep: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
    --inner-glow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container.narrow {
    max-width: 700px;
}

/* Nav */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.6);
    /* More transparent */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}

.glass-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-transform: lowercase;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition);
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.lang-switch a {
    margin-left: 0 !important;
    color: var(--text-secondary);
    font-weight: 600;
}

.lang-switch a.active {
    color: var(--accent);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 90%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    z-index: -1;
    filter: blur(100px);
}

.hero-soft-glow {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 40%;
    height: 50%;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo-container {
    margin-bottom: 3.5rem;
}

.hero-logo {
    height: 240px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero h1 span {
    color: var(--accent);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Buttons */
.btn-main,
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.4);
    letter-spacing: 0.5px;
}

.btn-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.6);
    filter: brightness(1.1);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 10rem 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
}

/* Grid Steps & Portfolio */
.grid-steps,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--glass-border);
    padding: 3.5rem;
    border-radius: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft), var(--inner-glow);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-deep);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.8);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.project-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--glass-border);
    padding: 0;
    border-radius: 32px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: left;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-soft), var(--inner-glow);
}

.project-img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-img.is-logo {
    object-fit: contain;
    padding: 1.5rem;
    background: transparent;
}

.project-img.filter-white {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

.project-img.is-hero {
    object-fit: cover;
    padding: 0;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 10%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition);
}

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

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.project-card p {
    color: #cbd5e1;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.35);
    margin-bottom: 1rem;
    line-height: 1;
    font-family: monospace;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Services (Replaced by Pricing Grid) */

/* Contact Form */
.contact-box {
    background: rgba(30, 41, 59, 0.4);
    padding: 6rem 4rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    text-align: center;
    box-shadow: var(--shadow-deep), var(--inner-glow);
}

.contact-box h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.contact-box p {
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.2rem;
}

input,
textarea {
    width: 100%;
    background: #0f172a;
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #1e293b;
    box-shadow: 0 0 0 1px var(--accent);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--glass-border);
    padding: 3.5rem 2.5rem;
    border-radius: 40px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft), var(--inner-glow);
    overflow: hidden;
}

.pricing-card.featured {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), var(--inner-glow);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.8);
}

.pricing-card.featured:hover {
    transform: scale(1.06) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 2.5rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    vertical-align: middle;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.pricing-features li::before {
    content: '\2192';
    color: var(--accent);
    font-weight: 800;
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 3rem auto 0;
    opacity: 0.8;
}

/* WhatsApp Button Styles */
.whatsapp-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    background: #20ba5a;
}

.btn-whatsapp svg {
    width: 28px;
    height: 28px;
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.5));
}

footer p {
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.founder-note {
    margin-top: 0.75rem;
    font-weight: 300;
    opacity: 0.7;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

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

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

/* Mobile Tweaks */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .section {
        padding: 6rem 0;
    }

    .contact-box {
        padding: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .pricing-grid {
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2.5rem 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }
}