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

:root {
    --primary-color: #2A64D9;
    --primary-dark: #1e4da8;
    --primary-light: #e8f0fe;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: #999;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    scroll-padding-top: 120px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 100px;
    }
}

/* Smooth animations for all interactive elements */
*, *::before, *::after {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
}


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

/* Main content wrapper */
body > *:not(.footer) {
    flex: 0 0 auto;
}

/* Header - Navbar Flottante Moderne */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(42, 100, 217, 0.1);
    z-index: 1000;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    will-change: transform, box-shadow;
}

.header.scrolled {
    top: 10px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(42, 100, 217, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 768px) {
    .header {
        top: 10px;
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
        transform: none;
        border-radius: 16px;
    }
    
    .header.scrolled {
        top: 5px;
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

@media (max-width: 768px) {
    .header .container {
        padding: 16px 24px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-text {
    background: linear-gradient(135deg, #2A64D9 0%, #1e4da8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.nav-link:active {
    transform: scale(0.95);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    will-change: transform;
    transform: translateZ(0);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 6px 20px rgba(42, 100, 217, 0.35);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav.active {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

/* CTA Form Section */
.cta-form-section {
    margin-top: 0;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.cta-form-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.cta-form-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-form-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-form-text {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-form {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 20px 44px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    will-change: transform;
    transform: translateZ(0);
}

.btn-cta-form:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    background: var(--primary-light);
}

.btn-cta-form:active {
    transform: translateY(-2px) translateZ(0);
}

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

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

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Company Form Section */
.company-form-section {
    margin-top: 80px;
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid var(--border-color);
    min-height: calc(100vh - 80px);
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 64px;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 56px;
}

.form-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.form-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.company-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.required {
    color: var(--primary-color);
    margin-left: 4px;
}

.field-input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-light);
    line-height: 1.5;
}

.field-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(42, 100, 217, 0.1);
    transform: translateY(-1px);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-group-inline {
    flex-direction: row;
    gap: 24px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-light);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    transform: scale(1);
}

.radio-label:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 12px rgba(42, 100, 217, 0.15);
}

.radio-label:active {
    transform: translateY(0) scale(0.98);
}

.radio-label.checked {
    border-color: var(--primary-color);
    background: var(--primary-light);
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(42, 100, 217, 0.2);
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: white;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-label input[type="radio"]:checked ~ .radio-text {
    color: var(--primary-color);
    font-weight: 600;
}

.form-consent {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(42, 100, 217, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkbox-label {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    margin-top: 2px;
}

.checkbox-custom::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform 0.15s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 100, 217, 0.2);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: rotate(-45deg) scale(1);
}

.checkbox-text {
    color: var(--text-secondary);
    display: block;
}

.checkbox-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.consent-helper {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.radio-label.checked {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.radio-text {
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-form-submit {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(42, 100, 217, 0.3);
    margin-top: 8px;
    will-change: transform;
    transform: translateZ(0);
}

.btn-form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 8px 30px rgba(42, 100, 217, 0.4);
}

.btn-form-submit:active {
    transform: translateY(0) translateZ(0);
}

.form-footer {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.btn-back-home {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border-radius: 8px;
}

.btn-back-home:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.form-confirmation {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    animation: slideDown 0.5s ease;
}

.confirmation-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.confirmation-icon {
    width: 40px;
    height: 40px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.confirmation-message {
    font-size: 16px;
    color: #2e7d32;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    margin-top: 0;
    padding: 140px 0 120px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    contain: layout style paint;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-gradient-1 {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 100, 217, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-gradient-2 {
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.hero-gradient-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 100, 217, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Animation handled by JavaScript on load */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(42, 100, 217, 0.1);
    animation: slideDown 0.6s ease;
}

.badge-icon {
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 30px rgba(42, 100, 217, 0.4);
}

.btn-primary-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(42, 100, 217, 0.5);
}

.btn-secondary-hero {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary-hero:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(42, 100, 217, 0.3);
}

.hero-features {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(42, 100, 217, 0.1);
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 32px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #2A64D9 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
    max-width: 90%;
}

.btn-large {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(42, 100, 217, 0.3);
    will-change: transform;
    transform: translateZ(0);
    border: none;
    cursor: pointer;
}

.btn-large:hover {
    background: var(--primary-dark);
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 10px 35px rgba(42, 100, 217, 0.45);
}

.btn-large:active {
    transform: translateY(-2px) translateZ(0);
}

.hero-image {
    position: relative;
    height: 400px;
    animation: fadeInRight 0.8s ease;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(42, 100, 217, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    will-change: transform;
    transform: translateZ(0);
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05) translateZ(0);
    box-shadow: 0 30px 80px rgba(42, 100, 217, 0.25);
}

.card-1 {
    top: 0;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 0;
    left: 30%;
    animation-delay: 2s;
}

.card-icon {
    font-size: 32px;
}

.card-text {
    font-weight: 600;
    color: var(--text-primary);
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.feature-card {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    will-change: transform;
    transform: translateZ(0);
}

.feature-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 12px 40px rgba(42, 100, 217, 0.15);
    border-color: var(--primary-color);
}

.feature-icon-large {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Portfolio Preview Section */
.portfolio-preview {
    padding: 120px 0;
    background: var(--white);
}

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

.portfolio-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
}

.portfolio-item:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 12px 50px rgba(42, 100, 217, 0.2);
}

.portfolio-image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 50 Q25 25, 50 50 T100 50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>') repeat;
    opacity: 0.3;
}

.portfolio-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 40px;
}

.portfolio-overlay h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.portfolio-overlay p {
    font-size: 16px;
    opacity: 0.9;
}

.portfolio-cta {
    text-align: center;
    margin-top: 48px;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--white);
}

/* .section-title defined below with animations */

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

.service-card {
    background: white;
    padding: 56px 40px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-12px) translateZ(0);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(42, 100, 217, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(42, 100, 217, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg) translateZ(0);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.service-icon {
    font-size: 40px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
}

.service-card:hover .service-icon {
    transform: scale(1.2) translateZ(0);
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.service-features-list li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.service-features-list li:last-child {
    border-bottom: none;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.services-cta {
    text-align: center;
    margin-top: 60px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 8px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: 20px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
    will-change: transform;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(42, 100, 217, 0.25);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 8px 40px rgba(42, 100, 217, 0.2);
}

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

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 25px 70px rgba(42, 100, 217, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.card-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.plan-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 16px;
}

.card-pricing {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.price-large {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
}

.price-install {
    font-size: 14px;
    color: var(--text-light);
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
}

.features-list li {
    padding: 12px 0;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
}

.btn-card {
    display: block;
    text-align: center;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.featured-btn {
    background: var(--primary-color);
    color: white;
}

.featured-btn:hover {
    background: var(--primary-dark);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-text h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-text > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon {
    font-size: 32px;
}

.info-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item strong {
    color: var(--text-primary);
    font-weight: 700;
}

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

.contact-form {
    background: var(--bg-light);
    padding: 48px;
    border-radius: 24px;
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-primary);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 100, 217, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 100, 217, 0.3);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--primary-light);
    font-weight: 800;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 50px rgba(42, 100, 217, 0.15);
    border-color: var(--primary-color);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Page Hero */
.page-hero {
    margin-top: 80px;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Portfolio Full */
.portfolio-full {
    padding: 120px 0;
    background: var(--white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.portfolio-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.portfolio-full-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    transform: translateZ(0);
}

.portfolio-full-item:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 12px 50px rgba(42, 100, 217, 0.2);
}

.portfolio-full-image {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-full-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 40px;
}

.portfolio-full-overlay h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.portfolio-full-overlay p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Services Detail */
.services-detail {
    padding: 120px 0;
    background: var(--white);
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    margin-bottom: 120px;
    align-items: center;
}

.service-detail-item:last-child {
    margin-bottom: 0;
}

.service-detail-item.reverse {
    direction: rtl;
}

.service-detail-item.reverse > * {
    direction: ltr;
}

.service-detail-content {
    max-width: 700px;
}

.service-detail-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.service-detail-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-detail-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-detail-list {
    list-style: none;
    padding: 0;
}

.service-detail-list li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.service-detail-list li:last-child {
    border-bottom: none;
}

/* About Content */
.about-content {
    padding: 120px 0;
    background: var(--white);
}

.about-section {
    margin-bottom: 100px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-primary);
    text-align: center;
}

.about-section > p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
}

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

.approach-item,
.why-item {
    text-align: center;
    padding: 48px 32px;
    background: var(--bg-light);
    border-radius: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
}

.approach-item:hover,
.why-item:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 12px 40px rgba(42, 100, 217, 0.15);
}

.approach-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.approach-item h3,
.why-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.approach-item p,
.why-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

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

.contact-cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.contact-cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Contact Page Styles */
.contact-page {
    padding: 120px 0;
    background: var(--white);
}

.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
    align-items: start;
}

.contact-info-section h2,
.contact-form-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-intro,
.form-intro {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
}

.contact-info-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(42, 100, 217, 0.1);
    transform: translateY(-4px) translateZ(0);
}

.contact-info-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-info-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

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

.contact-hours {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 20px;
}

.contact-hours h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-day {
    font-weight: 600;
    color: var(--text-primary);
}

.hours-time {
    color: var(--text-secondary);
}

.contact-form-page {
    background: var(--bg-light);
    padding: 48px;
    border-radius: 24px;
}

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

.contact-form-page label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-form-page input,
.contact-form-page select,
.contact-form-page textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

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

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

.map-section {
    margin-top: 80px;
}

.map-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.map-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    background: var(--bg-light);
    padding: 4px;
}

.map-container iframe {
    display: block;
    width: 100%;
    border-radius: 16px;
}

/* Footer */
.footer {
    background: white;
    color: black;
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: black;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.footer p {
    color: black;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 15px;
}

.footer-links a {
    color: black;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Legal pages */
.legal-hero {
    margin-top: 120px;
    padding: 96px 0 72px;
    background: linear-gradient(135deg, rgba(42, 100, 217, 0.08) 0%, rgba(42, 100, 217, 0.02) 100%);
}

.legal-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.legal-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 860px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-hero-meta {
    font-size: 14px;
    color: var(--text-light);
}

.legal-content {
    padding: 72px 0 120px;
    background: #fff;
}

.legal-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
}

.legal-summary {
    position: sticky;
    top: 120px;
    padding: 32px;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(42, 100, 217, 0.08);
}

.legal-summary h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.legal-summary ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-summary a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.legal-summary a::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.legal-summary a:hover {
    color: var(--primary-color);
}

.legal-article {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 12px;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.legal-section ul li {
    margin-bottom: 10px;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-summary {
        position: static;
        order: 2;
    }

    .legal-article {
        order: 1;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        margin-top: 100px;
        padding: 72px 0 56px;
    }

    .legal-hero h1 {
        font-size: 32px;
    }

    .legal-grid {
        gap: 32px;
    }

    .legal-summary {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* GPU acceleration for smooth animations */
.service-card,
.feature-card,
.portfolio-item,
.floating-card,
.btn-large,
.btn-primary {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimize scrolling */
html {
    scroll-padding-top: 100px;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-large, .btn-primary, .btn-cta-form {
    position: relative;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

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

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

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

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

    .form-wrapper {
        padding: 40px 32px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .contact-form {
        padding: 32px;
    }

    .company-form-section {
        padding: 40px 0;
    }

    .form-wrapper {
        padding: 32px 24px;
    }

    .form-title {
        font-size: 28px;
    }

    .form-subtitle {
        font-size: 16px;
    }

    .radio-group-inline {
        flex-direction: column;
        gap: 12px;
    }

    .cta-form-title {
        font-size: 32px;
    }

    .cta-form-text {
        font-size: 18px;
    }

    .btn-cta-form {
        padding: 16px 32px;
        font-size: 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .hero-features {
        flex-direction: column;
        gap: 24px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .portfolio-full-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-item {
        margin-bottom: 60px;
    }

    .service-detail-content h2 {
        font-size: 28px;
    }

    .about-section h2 {
        font-size: 32px;
    }

    .contact-page-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 28px;
    }

    .contact-form-page {
        padding: 32px;
    }

    .map-container iframe {
        height: 350px;
    }
}


/* ==========================================
   ANIMATIONS & SCROLL EFFECTS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Transitions - Already handled by new animations section */

/* Smooth scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Focus states for accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Services Page - Mobile First Design */
.service-block {
    width: 100%;
}

.service-header {
    margin-bottom: 32px;
    text-align: center;
}

.service-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.service-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.service-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-intro {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
    text-align: center;
}

.service-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .service-block {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 60px;
        align-items: start;
    }
    
    .service-header {
        position: sticky;
        top: 140px;
        text-align: left;
        margin-bottom: 0;
    }
    
    .service-icon {
        font-size: 80px;
        margin-bottom: 24px;
    }
    
    .service-title {
        font-size: 36px;
        margin-bottom: 16px;
    }
    
    .service-subtitle {
        font-size: 18px;
        line-height: 1.8;
    }
    
    .service-intro {
        text-align: left;
        margin-bottom: 40px;
    }
    
    .service-content {
        margin: 0;
    }
}

/* Tablet Layout */
@media (min-width: 768px) and (max-width: 1023px) {
    .service-title {
        font-size: 32px;
    }
    
    .service-icon {
        font-size: 72px;
    }
}

/* ==========================================
   POP ANIMATION ON PAGE LOAD
   ========================================== */

/* Simple pop animation for elements on load */
section,
.service-card,
.feature-card,
.portfolio-full-item,
.portfolio-card,
.stat-item,
.testimonial-card,
.service-block,
.section-header {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

