@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --secondary-color: #00d4ff;
    --accent-color: #ff3366;
    --dark-color: #0a0e27;
    --dark-secondary: #1a1f3a;
    --light-color: #f7f9fc;
    --text-color: #2c3e50;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    --gradient-accent: linear-gradient(135deg, #ff3366 0%, #ff6b9d 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 8px rgba(0, 102, 255, 0.3));
}

.logo-text {
    letter-spacing: -0.5px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.hero {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: subtle-zoom 20s ease-in-out infinite alternate;
}

@keyframes subtle-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9) 0%, rgba(0, 102, 255, 0.7) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
    max-width: 700px;
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    margin-right: 1rem;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.15rem;
}

.btn-link {
    color: var(--primary-color);
    padding: 0;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    gap: 12px;
}

section {
    padding: 100px 0;
}

section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark-color);
    font-weight: 900;
    letter-spacing: -1.5px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.features {
    background: linear-gradient(180deg, #fff 0%, var(--light-color) 100%);
}

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

.feature-card,
.service-card,
.value-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 102, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.service-card::before,
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transition: left 0.5s;
}

.feature-card:hover::before,
.service-card:hover::before,
.value-card:hover::before {
    left: 0;
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.2));
}

.feature-card h3,
.service-card h3,
.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 800;
}

.feature-card p,
.service-card p,
.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.service-card img {
    border-radius: 16px;
    margin-bottom: 1.5rem;
    height: 240px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s;
}

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

.services-preview {
    background: var(--light-color);
}

.cta-section {
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.cta-section h2 {
    color: #fff;
}

.cta-section h2::after {
    background: rgba(255, 255, 255, 0.5);
}

.page-header {
    background: var(--gradient-dark);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -2px;
    position: relative;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
}

.service-detail,
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.service-detail.reverse,
.about-section.reverse {
    direction: rtl;
}

.service-detail.reverse > *,
.about-section.reverse > * {
    direction: ltr;
}

.service-detail-image img,
.about-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-detail:hover .service-detail-image img,
.about-section:hover .about-image img {
    transform: scale(1.02);
}

.service-detail-content h2,
.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 900;
}

.service-detail-content h2::after,
.about-text h2::after {
    left: 0;
    transform: none;
}

.service-detail-content ul,
.about-text ul {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.service-detail-content li,
.about-text li {
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    padding-left: 12px;
}

.service-detail-content li::before,
.about-text li::before {
    content: '✓';
    position: absolute;
    left: -20px;
    color: var(--primary-color);
    font-weight: 900;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-details {
    margin: 2.5rem 0;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 16px;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-image {
    margin-top: 2.5rem;
}

.contact-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.contact-form-wrapper {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--dark-color);
    font-size: 0.95rem;
}

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

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

.success-message {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--success-color);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.error-message {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: var(--error-color);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    text-align: left;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.legal-text h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-text p,
.legal-text ul {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.legal-text ul {
    padding-left: 2.5rem;
}

.legal-text li {
    margin-bottom: 0.75rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--border-color);
    padding: 16px;
    text-align: left;
}

.cookie-table th {
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
}

.cookie-table tr:hover {
    background: var(--light-color);
}

.main-footer {
    background: var(--gradient-dark);
    color: #fff;
    padding: 4rem 0 1.5rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: 1.2rem;
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.footer-section a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-dark);
    color: #fff;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    display: none;
    border-top: 3px solid var(--primary-color);
}

.cookie-consent.show {
    display: block;
    animation: slide-up 0.5s ease-out;
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent p {
    margin: 0;
    font-weight: 500;
}

.cookie-consent a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-consent button {
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.cookie-accept {
    background: var(--success-color);
    color: #fff;
}

.cookie-accept:hover {
    background: #059669;
    transform: scale(1.05);
}

.cookie-decline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .service-detail,
    .about-section,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .service-detail.reverse,
    .about-section.reverse {
        direction: ltr;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-consent button {
        width: 100%;
    }
}
