/* ========================================
   Selenium Domain Agricultural Technology
   Corporate Website - Xiaomi Style Design
   ======================================== */

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

/* CSS Variables */
:root {
    --primary-color: #00a74a;
    --primary-dark: #007a33;
    --primary-light: #4db87a;
    --secondary-color: #ff6b35;
    --accent-color: #ffc107;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-dark: #1a1a1a;
    --bg-gradient: linear-gradient(135deg, #00a74a 0%, #007a33 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo svg {
    width: 48px;
    height: 48px;
    transition: var(--transition-normal);
}

.logo:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
}

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

.nav-link {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(0, 167, 74, 0.05);
}

.nav-cta {
    background: var(--bg-gradient);
    color: white !important;
    padding: 12px 28px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    margin-left: 16px;
    box-shadow: 0 4px 16px rgba(0, 167, 74, 0.3);
    transition: var(--transition-normal);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 167, 74, 0.4);
}

.nav-cta::before {
    display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

.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);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, #f8fff8 0%, #ffffff 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 167, 74, 0.1) 0%, rgba(0, 122, 51, 0.05) 100%);
    animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.hero-shape:nth-child(3) {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 20%;
    animation-delay: -10s;
}

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

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 167, 74, 0.1);
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease forwards;
    opacity: 0;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

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

.hero h1 {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 167, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 167, 74, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid #e0e0e0;
}

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

.btn svg {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

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

.hero-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Section Styles */
.section {
    padding: 120px 0;
    position: relative;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 167, 74, 0.1);
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

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

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

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(0, 167, 74, 0.1) 0%, rgba(0, 122, 51, 0.05) 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--bg-gradient);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon svg {
    color: white;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.service-image {
    height: 240px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.service-image svg {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.service-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.service-content p {
    flex: 1;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

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

.service-link svg {
    width: 20px;
    height: 20px;
}

/* Mobile App Section */
.mobile-app-section {
    background: var(--bg-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.mobile-app-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 167, 74, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.mobile-app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mobile-app-info h2 {
    color: white;
    margin-bottom: 24px;
}

.mobile-app-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.mobile-app-features {
    display: grid;
    gap: 16px;
    margin-bottom: 40px;
}

.mobile-app-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.mobile-app-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.mobile-app-feature svg {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.mobile-app-feature span {
    font-size: 1rem;
    font-weight: 500;
}

.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    color: var(--text-primary);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
}

.app-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.app-button svg {
    width: 28px;
    height: 28px;
}

.app-button-text {
    text-align: left;
}

.app-button-text small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

.app-button-text span {
    font-size: 1rem;
    font-weight: 600;
}

.mobile-app-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 1;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
}

.phone-screen svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.phone-screen h4 {
    color: white;
    margin-bottom: 8px;
}

.phone-screen p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Stats Section */
.stats-section {
    background: var(--bg-gradient);
    color: white;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.news-card:hover .news-image::before {
    left: 100%;
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: white;
    border-radius: var(--border-radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

/* CTA Section */
.cta-section {
    background: var(--bg-secondary);
    text-align: center;
}

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

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-avatar svg {
    width: 60px;
    height: 60px;
    color: white;
}

.team-card h4 {
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
}

.team-social svg {
    width: 18px;
    height: 18px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
}

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

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-gradient);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.contact-item h4 {
    margin-bottom: 4px;
}

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

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Map Section */
.map-section {
    height: 400px;
    background: var(--bg-secondary);
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #e8e8e8 100%);
}

.map-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 22px;
    height: 22px;
}

.footer-column h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: white;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Culture Page */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 24px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    position: absolute;
    top: 24px;
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.2;
}

.timeline-item:nth-child(odd) .timeline-date {
    left: calc(50% - 40px);
}

.timeline-item:nth-child(even) .timeline-date {
    right: calc(50% - 40px);
}

.timeline-content h3 {
    margin-bottom: 8px;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.value-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 167, 74, 0.1) 0%, rgba(0, 122, 51, 0.05) 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 8px;
}

.value-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Privacy & Terms Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

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

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

.legal-toc {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 40px;
}

.legal-toc h3 {
    margin-top: 0;
}

.legal-toc ul {
    margin-bottom: 0;
}

.legal-toc a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-toc a:last-child {
    border-bottom: none;
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
    animation: slideUp 0.5s ease forwards;
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 167, 74, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 167, 74, 0.4);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-secondary);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-app-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .mobile-app-visual {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        flex-direction: column;
        text-align: center;
    }
    
    .value-icon {
        margin: 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .phone-mockup {
        width: 260px;
        height: 520px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-top,
    .cookie-banner,
    .mobile-menu-btn {
        display: none !important;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        min-height: auto;
        padding: 80px 0;
    }
}

/* Accessibility */
@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;
    }
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}
