/* Design System & Variables */
:root {
    /* Premium Light Theme Colors */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --accent-primary: #FFCE00; /* Logo Yellow */
    --accent-hover: #e5b900;
    --accent-dark: #111827; /* Near black for heavy contrast */
    
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    
    --border-light: rgba(17, 24, 39, 0.08);

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Layout */
    --container-max: 1200px;
    --nav-height: 90px;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(255, 206, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography elements */
h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    color: var(--text-primary);
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.text-gradient {
    position: relative;
    display: inline-block;
    color: var(--accent-primary);
}

.text-gradient::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--accent-primary);
    z-index: -1;
    opacity: 0.4;
    transform: skewX(-15deg);
}

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

/* UI Components */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--accent-primary);
    color: var(--accent-dark);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--accent-hover);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--accent-dark);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    border: 2px solid var(--accent-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background-color: var(--accent-dark);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 0.75rem 1.8rem;
    font-size: 0.85rem;
}

.w-full {
    width: 100%;
}

/* Background Animated Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ffce00 0%, rgba(255, 206, 0, 0) 70%);
}

.shape-2 {
    top: 30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(17, 24, 39, 0.08) 0%, rgba(17, 24, 39, 0) 70%);
    animation-delay: -5s;
}

.shape-3 {
    bottom: 10%;
    right: 10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #ffce00 0%, rgba(255, 206, 0, 0) 70%);
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.05); }
    100% { transform: translate(-30px, 60px) scale(0.95); }
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.glass-nav.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    height: 75px;
}

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

.brand-logo {
    height: 72px;
    width: auto;
    transition: var(--transition-smooth);
    /* In case we need brightness filter for dark modes later */
}

.glass-nav.scrolled .brand-logo {
    height: 56px;
}

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

.nav-links a:not(.btn-primary) {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    max-width: 650px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-content p strong {
    color: var(--accent-dark);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-primary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    opacity: 0.5;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 2;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    text-align: center;
}

.stat-box h3, .stat-box .plus {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: inline-block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Services */
.services {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: #fff9e6; /* very light yellow */
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .icon-wrapper {
    background-color: var(--accent-primary);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-link {
    font-weight: 700;
    color: var(--accent-dark);
    font-size: 0.95rem;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 2px;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-dark);
}

/* CTA & Form */
.cta-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.cta-wrapper {
    background-color: var(--accent-dark);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Add a yellow abstract shape in the dark card */
.cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 206, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-text {
    padding: 5rem 4rem;
    color: #ffffff;
}

.cta-text h2 {
    color: #ffffff;
}

.cta-text p {
    color: #9ca3af;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e5e7eb;
}

.info-block svg {
    color: var(--accent-primary);
}

.cta-form-container {
    background-color: #ffffff;
    padding: 5rem 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    gap: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 206, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    max-width: 350px;
    margin-bottom: 2rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-main);
    color: var(--accent-dark);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--accent-primary);
    color: var(--accent-dark);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-weight: 500;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Animations & States */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .cta-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cta-text {
        padding: 4rem 2rem;
    }
    
    .cta-form-container {
        padding: 4rem 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background: var(--bg-surface);
        width: 100%;
        height: calc(100vh - var(--nav-height));
        padding: 4rem 2rem;
        transition: 0.3s ease;
        border-top: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links a:not(.btn-primary) {
        font-size: 1.25rem;
    }
}

/* Contact Form UI Additions */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.input-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.pos-relative {
    position: relative;
}

.char-counter {
    position: absolute;
    bottom: -25px;
    right: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.form-status {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition-fast);
}

.status-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.status-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.btn-loading {
    position: relative;
}

.btn-loading.loading .btn-text {
    opacity: 0;
}

.btn-loading.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(17, 24, 39, 0.3);
    border-top-color: var(--accent-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

input.error-shake, textarea.error-shake {
    animation: shake 0.5s;
    border-color: #ef4444;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* --- Language Switcher --- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 1rem;
}

.lang-switch a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.lang-switch a.active {
    color: var(--text-primary);
    font-weight: 700;
}

.lang-switch .divider {
    color: var(--border-light);
    margin: 0 4px;
}

/* --- Form Status Messages --- */
.form-status {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
}

.status-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}