/* ============================================
   NST - Next Step Technology
   Apple-Inspired Design System
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors */
    --color-bg: #FFFFFF;
    --color-bg-dark: #000000;
    --color-surface: #F5F5F7;
    --color-surface-light: #FAFAFA;
    --color-text: #1D1D1F;
    --color-text-secondary: #555555;
    --color-muted: #86868B;
    --color-accent: #0071E3;
    --color-accent-hover: #0077ED;
    --color-accent-dark: #0056B3;
    --color-border: #D2D2D7;
    --color-border-light: #E5E5E7;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 10px 30px rgba(0, 113, 227, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--font-size-6xl);
}

h2 {
    font-size: var(--font-size-5xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    line-height: var(--line-height-relaxed);
    color: var(--color-text-secondary);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

button {
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
}

input,
select,
textarea {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
}

.logo-text {
    font-size: var(--font-size-2xl);
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: -0.05em;
}

.logo-name {
    display: none;
    font-size: var(--font-size-sm);
    color: var(--color-muted);
    font-weight: var(--font-weight-medium);
}

@media (min-width: 768px) {
    .logo-name {
        display: inline;
    }
}

.nav-links {
    display: none;
    list-style: none;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        align-items: center;
    }
}

.nav-links a {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    position: relative;
}

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

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

.navbar-controls {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.lang-toggle {
    background: none;
    color: var(--color-text);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-base);
}

.lang-toggle:hover {
    background-color: var(--color-surface);
}

.lang-divider {
    margin: 0 var(--space-xs);
    color: var(--color-border);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: white;
}

.btn-lg {
    padding: 0.8rem 1.8rem;
    font-size: var(--font-size-base);
}

@media (max-width: 640px) {
    .btn {
        padding: 0.4rem 1rem;
        font-size: var(--font-size-sm);
    }

    .btn-lg {
        padding: 0.6rem 1.2rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: var(--space-2xl) var(--space-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-lg);
    background-color: rgba(0, 113, 227, 0.15);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.3s both;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: #aaaaaa;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.5s both;
}

@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: var(--space-3xl) 0;
    background-color: var(--color-bg);
}

.section-title {
    font-size: var(--font-size-4xl);
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    text-align: center;
    color: var(--color-muted);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.service-card {
    padding: var(--space-2xl);
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all var(--transition-base);
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    cursor: pointer;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

.service-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ============================================
   WHY NST SECTION
   ============================================ */

.why-nst {
    padding: var(--space-3xl) 0;
    background-color: var(--color-surface-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
}

.feature {
    padding: var(--space-2xl);
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--color-border-light);
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
    cursor: pointer;
}

.feature:nth-child(1) {
    animation-delay: 0.1s;
}

.feature:nth-child(2) {
    animation-delay: 0.15s;
}

.feature:nth-child(3) {
    animation-delay: 0.2s;
}

.feature:nth-child(4) {
    animation-delay: 0.25s;
}

.feature:nth-child(5) {
    animation-delay: 0.3s;
}

.feature:nth-child(6) {
    animation-delay: 0.35s;
}

.feature:nth-child(7) {
    animation-delay: 0.4s;
}

.feature:nth-child(8) {
    animation-delay: 0.45s;
}

.feature:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.feature p {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
}

/* ============================================
   ANIMATED BANNER SECTION
   ============================================ */

.animated-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('../img/gif.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Efecto Parallax */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.banner-text {
    color: white;
    font-size: var(--font-size-5xl);
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .banner-text {
        font-size: var(--font-size-3xl);
    }
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
    padding: var(--space-3xl) 0;
    background-color: var(--color-surface);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 640px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    animation: drawLine 0.8s ease forwards;
}

@media (max-width: 640px) {
    .timeline-line {
        display: none;
    }
}

.process-step {
    position: relative;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.1s;
}

.process-step:nth-child(2) {
    animation-delay: 0.15s;
}

.process-step:nth-child(3) {
    animation-delay: 0.2s;
}

.process-step:nth-child(4) {
    animation-delay: 0.25s;
}

.process-step:nth-child(5) {
    animation-delay: 0.3s;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    background: var(--color-bg);
    padding: 0 var(--space-sm);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), transparent);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.step-icon svg {
    width: 40px;
    height: 40px;
}

.process-step h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.process-step p {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: var(--space-3xl) 0;
    background-color: var(--color-bg);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-surface);
    color: var(--color-text);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.filter-btn:hover {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.filter-btn.active {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    aspect-ratio: 16 / 10;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.portfolio-card:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-card:nth-child(2) {
    animation-delay: 0.15s;
}

.portfolio-card:nth-child(3) {
    animation-delay: 0.2s;
}

.portfolio-card:nth-child(4) {
    animation-delay: 0.25s;
}

.portfolio-card:nth-child(5) {
    animation-delay: 0.3s;
}

.portfolio-card:nth-child(6) {
    animation-delay: 0.35s;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-base);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
    text-align: center;
    color: white;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.portfolio-overlay p {
    font-size: var(--font-size-sm);
    color: #cccccc;
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    color: white;
}

.security .section-title {
    color: white;
}

.security .section-subtitle {
    color: #aaaaaa;
}

.owasp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.owasp-item {
    padding: var(--space-lg);
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: var(--radius-lg);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    transition: all var(--transition-base);
}

.owasp-item:nth-child(1) {
    animation-delay: 0.05s;
}

.owasp-item:nth-child(2) {
    animation-delay: 0.1s;
}

.owasp-item:nth-child(3) {
    animation-delay: 0.15s;
}

.owasp-item:nth-child(4) {
    animation-delay: 0.2s;
}

.owasp-item:nth-child(5) {
    animation-delay: 0.25s;
}

.owasp-item:nth-child(6) {
    animation-delay: 0.3s;
}

.owasp-item:nth-child(7) {
    animation-delay: 0.35s;
}

.owasp-item:nth-child(8) {
    animation-delay: 0.4s;
}

.owasp-item:nth-child(9) {
    animation-delay: 0.45s;
}

.owasp-item:nth-child(10) {
    animation-delay: 0.5s;
}

.owasp-item:hover {
    background: rgba(0, 113, 227, 0.2);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-4px);
}

.owasp-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.owasp-item h4 {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.security-message {
    background: rgba(0, 113, 227, 0.15);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
}

.security-message p {
    font-size: var(--font-size-base);
    color: white;
    line-height: var(--line-height-relaxed);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: var(--space-3xl) 0;
    background-color: var(--color-surface-light);
}

.testimonials-carousel {
    position: relative;
    min-height: 400px;
    margin-bottom: var(--space-2xl);
}

.testimonial-card {
    position: absolute;
    inset: 0;
    padding: var(--space-2xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.testimonial-card.active {
    opacity: 1;
    position: relative;
}

.testimonial-stars {
    color: #FFB800;
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
}

.testimonial-card p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-relaxed);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.author-role {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot:hover {
    background-color: var(--color-muted);
}

.carousel-dot.active {
    background-color: var(--color-accent);
    width: 32px;
    border-radius: var(--radius-full);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: var(--space-3xl) 0;
    background-color: var(--color-bg);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    margin-top: var(--space-2xl);
}

@media (max-width: 1024px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-md);
}

.form-group label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background-color: var(--color-surface);
    color: var(--color-text);
    transition: all var(--transition-base);
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.info-label {
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    font-size: var(--font-size-sm);
}

.info-item a {
    color: var(--color-accent);
    font-size: var(--font-size-base);
}

.info-item p {
    color: var(--color-text-secondary);
    margin: 0;
}

.social-links {
    display: flex;
    gap: var(--space-lg);
}

.social-links a {
    color: var(--color-accent);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--color-bg-dark);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-base);
}

.footer-section p {
    color: #aaaaaa;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: #aaaaaa;
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    font-size: var(--font-size-sm);
    color: #aaaaaa;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.lang-toggle-footer {
    background: none;
    color: #aaaaaa;
    border: none;
    font-size: var(--font-size-sm);
    padding: 0;
}

.lang-toggle-footer:hover {
    color: white;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes drawLine {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 640px) {
    :root {
        --font-size-6xl: 2.25rem;
        --font-size-5xl: 1.875rem;
        --font-size-4xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 3rem;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .services-grid,
    .features-grid,
    .owasp-grid,
    .portfolio-grid {
        gap: var(--space-lg);
    }

    .navbar-container {
        padding: 0 var(--space-md);
    }

    .nav-links {
        display: none;
    }

    .hero {
        margin-top: 50px;
    }

    .hero-content {
        padding: var(--space-lg);
    }

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

/* ============================================
   UTILITIES
   ============================================ */

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

.mt-1 {
    margin-top: var(--space-sm);
}

.mt-2 {
    margin-top: var(--space-md);
}

.mt-3 {
    margin-top: var(--space-lg);
}

.mt-4 {
    margin-top: var(--space-xl);
}

.mb-1 {
    margin-bottom: var(--space-sm);
}

.mb-2 {
    margin-bottom: var(--space-md);
}

.mb-3 {
    margin-bottom: var(--space-lg);
}

.mb-4 {
    margin-bottom: var(--space-xl);
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}