﻿

:root {
    --primary-color: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --secondary-color: #0F172A;
    --accent-color: #06B6D4;
    --text-color: #334155;
    --text-light: #64748B;
    --background: #FFFFFF;
    --background-alt: #F8FAFC;
    --border-color: #E2E8F0;
    --success-color: #10B981;
    --error-color: #EF4444;
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --border-radius-lg: 50px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

.section[id],
[id="main-content"] {
    scroll-margin-top: 100px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    z-index: 2000;
}

.scroll-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    line-height: 1;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    z-index: 1200;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

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

.scroll-top-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), var(--shadow-lg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: max(1200px, 70%);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.0rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.logo img {
    width: 10rem;
    height: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-cta {
    padding: 0.5rem 1.25rem;
    color: white !important;
}

.nav-links a.nav-cta::after,
.nav-links a.nav-cta:hover::after,
.nav-links a.nav-cta.active::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 20px;
    
    font-size: clamp(3.5rem, 3.75vw, 5rem);
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-animation-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 500px;
    margin: 0 auto;
}

.phone-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 440px;
    animation: phoneFloat 6s ease-in-out infinite;
    z-index: 10;
}

@keyframes phoneFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.2));
}

.floating-element {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.8rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--secondary-color);
    z-index: 20;
}

.floating-icon {
    font-size: 1rem;
}

.element-1 {
    top: 10%;
    left: -10%;
    animation: floatElement 4s ease-in-out infinite;
}

.element-2 {
    top: 25%;
    right: -15%;
    animation: floatElement 4s ease-in-out infinite 1s;
}

.element-3 {
    bottom: 25%;
    left: -15%;
    animation: floatElement 4s ease-in-out infinite 2s;
}

.element-4 {
    bottom: 10%;
    right: -10%;
    animation: floatElement 4s ease-in-out infinite 0.5s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    75% { transform: translateY(8px) rotate(-2deg); }
}

.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 300px;
    height: 300px;
    animation: orbitRotate 20s linear infinite;
}

.orbit-2 {
    width: 380px;
    height: 380px;
    animation: orbitRotate 30s linear infinite reverse;
}

.orbit-3 {
    width: 460px;
    height: 460px;
    animation: orbitRotate 40s linear infinite;
}

.orbit-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.section {
    padding: 2.5rem 0;
    min-height: 350px;
    align-content: center;
}

.section-alt {
    background: var(--background-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.section-projects {
    padding: 2.5rem 0;
    min-height: 350px;
    align-content: top;
} 

@supports (content-visibility: auto) {
    .section,
    .section-projects,
    .cta {
        content-visibility: auto;
        contain-intrinsic-size: 1px 700px;
    }
}

.is-hidden {
    display: none !important;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin: 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.featured-app-card {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.featured-app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.featured-app-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.featured-app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.featured-app-info {
    flex: 1;
    
}

.featured-app-info h3{
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.featured-app-info p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.featured-app-platforms {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.featured-projects-cta {
    text-align: center;
    margin-top: 40px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.platform-badge.ios {
    background: rgba(0, 0, 0, 0.05);
    color: var(--secondary-color);
}

.platform-badge.android {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.platform-badge.web {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-color);
}

.app-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.app-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.app-content {
    padding: 25px;
}

.app-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.app-content h3 {
    margin-bottom: 10px;
}

.app-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.app-tech {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.app-tech span {
    padding: 4px 10px;
    background: var(--background-alt);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-content h4 {
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: black;
    margin-bottom: 5px;
}

.stat-item p {
    color:rgba(0, 0, 0, 0.8);
    margin: 0;
    font-size: 1rem;
}

.cta {
    text-align: center;
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    margin-bottom: 15px;
}

.cta p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.about-hero {
    padding: 140px 0 80px;
    background: var(--background-alt);
    text-align: center;
}

.about-hero h1 {
    margin-bottom: 20px;
}

.about-hero p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: max(640px, 60%);
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    height: 400px;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: white;
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-light);
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.team-info {
    padding: 20px;
}

.team-info h4 {
    margin-bottom: 5px;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.contact-hero {
    padding: 140px 0 80px;
    background: var(--background-alt);
    text-align: center;
}

.contact-hero h1 {
    margin-bottom: 20px;
}

.contact-hero p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: max(640px, 60%);
    margin: 0 auto;
}

.contact-content {
    max-width: 80%;
    margin: 0 auto;
}

.contact-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5ebf5;
}

.contact-info {
    background: linear-gradient(180deg, #366be7 0%, #2b52be 100%);
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
}

.contact-intro {
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.3rem, 1.5vw, 1.7rem);
    line-height: 1.45;
    margin-bottom: 48px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-details p {
    color: white;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.35;
}

.contact-details a {
    color: white;
}

.contact-details a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.contact-social {
    margin-top: auto;
    padding-top: 30px;
}

.social-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 10px;
    color: inherit;
    transition: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.96);
    color: inherit;
    transform: none;
    box-shadow: none;
}

.contact-form-wrapper {
    background: #f8fafc;
    padding: 2rem;
    display: flex;
    align-items: center;
}

.contact-form {
    width: 100%;
}

.contact-form h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #2f3440;
    border-radius: 0.5rem;
    transition: var(--transition);
    background: white;
    color: var(--secondary-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-submit-btn {
    min-width: 210px;
    margin: 12px auto 0;
    display: block;
    padding: 13px 30px;
}

.contact-map-placeholder {
    background: var(--gradient-primary);
    height: 400px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    padding: 1rem;
    text-align: center;
}

.form-message {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    display: block;
}

.legal-hero {
    padding: 140px 0 60px;
    background: var(--background-alt);
    text-align: center;
}

.legal-hero h1 {
    margin-bottom: 15px;
}

.legal-hero p {
    color: var(--text-light);
    max-width: max(640px, 60%);
    margin: 0 auto;
}

.legal-content {
    max-width: max(900px, 70%);
    margin: 0 auto;
    padding: 20px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 15px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0 20px 20px;
    color: var(--text-light);
}

.legal-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.legal-content ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.legal-content a {
    color: var(--primary-color);
}

.legal-content a:hover {
    text-decoration: underline;
}

.last-updated {
    background: var(--background-alt);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 40px;
}

.apps-hero {
    padding: 140px 0 80px;
    background: var(--background-alt);
    text-align: center;
}

.apps-hero h1 {
    margin-bottom: 1rem;
}

.apps-hero p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: max(640px, 60%);
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-weight: 500;
    transition: var(--transition);
    min-height: 2.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.footer {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.75fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: white;
}

.page-header {
    padding: 140px 0 60px;
    background: var(--background-alt);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 15px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 1024px) and (min-width: 768px) {
    
    h1 {
        font-size: clamp(2.1rem, 3.6vw, 2.6rem);
    }

    
    h2 {
        font-size: clamp(1.75rem, 3vw, 2.2rem);
    }

    h3 {
        font-size: clamp(1.15rem, 2vw, 1.35rem);
    }

    .logo img{
        width: 9rem;
    }

    
    .container {
        padding: 0 24px;
    }

    
    .hero .container {
        gap: 40px;
    }

    .hero-content {
        max-width: 550px;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 3.8vw, 2.4rem);
    }

    .hero-text {
        font-size: 1rem;
    }

    
    .hero-animation-container {
        max-width: 330px;
        height: 360px;
    }

    .phone-mockup {
        width: 165px;
        height: 330px;
    }

    
    .orbit-1 {
        width: 220px;
        height: 220px;
    }

    .orbit-2 {
        width: 270px;
        height: 270px;
    }

    .orbit-3 {
        width: 320px;
        height: 320px;
    }

    
    .floating-element {
        padding: 0.2rem 0.5rem;
        font-size: 0.6rem;
        gap: 0.15rem;
    }

    .element-1 {
        left: 0;
    }

    .element-2 {
        right: -5%;
    }

    .element-3 {
        left: -5%;
    }

    .element-4 {
        right: 0;
    }

    
    .services-grid {
        gap: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 1.75rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    
    .featured-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    

    .featured-app-icon {
        width: 50px;
        height: 50px;
    }

    .featured-app-info h3 {
        font-size: 1rem;
    }

    .featured-app-info p {
        font-size: 0.8rem;
    }

    
    .values-grid {
        gap: 20px;
    }

    .value-card {
        padding: 0.9rem;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-item h3 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .stat-item p {
        font-size: 0.9rem;
    }

    
    .features-grid {
        gap: 0.75rem;
    }

    .feature-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.25rem;
    }

    .feature-content h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }

    
    .team-grid {
        gap: 20px;
    }

    .team-image {
        height: 180px;
    }

    
    .about-content {
        gap: 40px;
    }

    .about-image {
        height: 350px;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    
    .contact-content {
        max-width: 100%;
    }

    .contact-main-wrapper {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .contact-info {
        padding: 1.25rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .contact-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-item {
        margin-bottom: 16px;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
        min-width: 24px;
    }

    .contact-details p {
        font-size: 1.1rem;
    }

    
    .footer-grid {
        gap: 1rem;
    }

    .footer-links h4 {
        font-size: 1rem;
    }

    

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    
    .section-header {
        margin-bottom: 40px;
    }

    .section-header p {
        font-size: 1rem;
    }

    
    .cta {
        padding: 80px 0;
    }

    
    .btn {
        padding: 9px 20px;
        font-size: 0.88rem;
    }

    .btn-primary, .btn-secondary, .btn-white {
        padding: 9px 20px;
    }

    .nav-cta {
        padding: 8px 18px;
    }

    
    .legal-content {
        padding: 10px;
    }

    .legal-content h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 767px) {
    
    h1 {
        font-size: clamp(1.5rem, 7vw, 1.7rem);
    }

    h2 {
        font-size: clamp(1.3rem, 6vw, 1.5rem);
    }

    h3 {
        font-size: clamp(1.1rem, 5vw, 1.3rem);
    }

    
    .container {
        padding: 0 16px;
    }

    
    .nav-links {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        gap: 10px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
    }

    .nav-links .nav-cta {
        display: none;
    }

    .nav-links li.nav-item-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        width: 36px;
        height: 36px;
        gap: 4px;
        padding: 4px;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(1.4rem, 7vw, 1.6rem);
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 8px 14px;
        font-size: 0.82rem;
        min-height: 42px;
    }

    .hero-image {
        display: none;
    }

    
    .section {
        padding: 1.5rem 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .section-projects {
        padding: 1rem 0;
    } 

    
    .services-grid,
    .apps-grid,
    .features-grid,
    .values-grid,
    .featured-apps-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .featured-app-card {
        padding: 0.5rem;
        flex-direction: row;
        text-align: left;
    }

    .featured-app-icon {
        width: 50px;
        height: 50px;
        margin: 0;
    }

    .featured-app-platforms {
        justify-content: flex-start;
    }

    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item h3 {
        font-size: clamp(2rem, 10vw, 2.5rem);
    }

    .stat-item p {
        font-size: 0.85rem;
    }

    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 250px;
    }

    .about-hero,
    .contact-hero,
    .apps-hero,
    .legal-hero {
        padding: 6rem 0 3rem;
    }

    
    .contact-content {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .contact-main-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 1rem 0.75rem;
    }

    .contact-intro {
        font-size: clamp(1rem, 4.2vw, 1.1rem);
        margin-bottom: 24px;
    }

    .contact-item {
        margin-bottom: 18px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .form-group {
        margin-bottom: 0.5rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.4rem;
    }

    .contact-submit-btn {
        width: 100%;
        min-width: 0;
    }

    .contact-map-placeholder {
        height: 200px;
        font-size: 1rem;
    }

    
    .social-links,
    .footer-social {
        justify-content: center;
    }

    .social-link {
        width: 28px;
        height: 28px;
    }

    
    .filter-buttons {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
        flex: 0 0 auto;
        white-space: nowrap;
        width: auto;
        text-align: center;
        min-height: 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    
    .cta {
        padding: 60px 0;
    }

    .cta p {
        font-size: 1rem;
    }

    
    .value-card {
        padding: 0.8rem;
    }

    .value-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .feature-item {
        padding: 0.25rem;
        gap: 0.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.25rem;
    }

    .feature-content h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .feature-content p {
        font-size: 0.8rem;
    }

    
    .footer {
        padding: 2.5rem 0 0.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .logo {
        display: block;
        width: auto;
        margin: 0 auto 1rem;
    }

    .footer-brand .logo img {
        display: block;
        margin: 0 auto;
    }

    .footer-links h4 {
        margin-bottom: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-top: 20px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
    }

    
    .btn {
        padding: 7px 12px;
        font-size: 0.78rem;
        min-height: 40px;
        line-height: 1.1;
    }

    .logo img{
        width: 8rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .scroll-top-btn {
        right: 14px;
        bottom: 14px;
        width: 40px;
        height: 40px;
    }

    
    .legal-content {
        padding: 5px;
    }

    .legal-content h2 {
        font-size: 1.2rem;
        margin: 30px 0 12px;
    }

    .legal-content p,
    .legal-content ul {
        font-size: 0.95rem;
    }

    .last-updated {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .hero-image {
        display: none;
    }

    .nav-links {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon {
        border-radius: var(--border-radius);
    }
}

@media print {
    .header,
    .footer,
    .hero-image,
    .mobile-menu-btn {
        display: none;
    }

    .hero {
        padding-top: 20px;
        min-height: auto;
    }

    .section {
        padding: 30px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

