/* ====================================
   EWAY INFRATECH - Apple-Style Minimal Website
   ==================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Subtle Apple-like Palette */
    --primary: #0071e3;
    --primary-light: #2997ff;
    --primary-dark: #0058b0;
    --secondary: #1d1d1f;
    --accent: #6e6e73;
    --accent-2: #86868b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0071e3 0%, #2997ff 100%);
    --gradient-hero: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f5f5f7 100%);
    --gradient-text: linear-gradient(90deg, #1d1d1f, #0071e3);
    
    /* Background Colors */
    --bg-dark: #ffffff;
    --bg-darker: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5f7;
    
    /* Text Colors */
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #86868b;
    
    /* Border Colors */
    --border-color: #d2d2d7;
    --border-glow: rgba(0, 113, 227, 0.3);
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 24px;
    
    /* Typography */
    --font-primary: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    --font-secondary: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

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

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

body {
    font-family: var(--font-secondary);
    background-color: #ffffff;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f7;
}

::-webkit-scrollbar-thumb {
    background: #d2d2d7;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a6;
}

/* ====================================
   Navigation
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.8rem;
    animation: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.logo-text {
    display: flex;
    gap: 0;
    align-items: center;
    font-size: 1.4rem;
    position: relative;
}

.logo-bold {
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: #02021d;
    background-clip: text;
    letter-spacing: -0.03em;
    font-size: 1.6rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.logo-light {
    font-weight: 100;
    font-family: 'Space Grotesk', sans-serif;
    color: #02021d;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    font-size: 0.1.6rem;
    margin-left: 6px;
    padding: 3px 8px;
    border-radius: 4px;
    position: relative;
    top: 0;
    transition: all 0.3s ease;
}

.logo:hover .logo-bold {
    filter: drop-shadow(0 0 12px rgba(0, 113, 227, 0.5));
    background: linear-gradient(135deg, #5ac8fa 0%, #0071e3 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.logo:hover .logo-light {
    border-color: rgba(0, 113, 227, 0.4);
    color: #0071e3;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition-fast);
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 400;
    font-size: 0.875rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1d1d1f;
    transition: var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    background: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: #1d1d1f;
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #1d1d1f;
    transition: var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px 24px 100px;
    background: linear-gradient(180deg, #e8f4fd 0%, #f0f7ff 40%, #e6f2ff 70%, #dceeff 100%);
}

/* Subtle Grid Pattern */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 113, 227, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 113, 227, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Decorative Circles - Main Ring */
.hero::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border: 2px solid rgba(0, 113, 227, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 4s ease-in-out infinite;
    box-shadow: 
        0 0 60px rgba(0, 113, 227, 0.1),
        inset 0 0 60px rgba(0, 113, 227, 0.05);
}

@keyframes pulseRing {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.4; }
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.6;
}

/* Additional decorative rings */
.hero-bg::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border: 2px dashed rgba(0, 113, 227, 0.12);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateRing 30s linear infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 900px;
    height: 900px;
    border: 1px solid rgba(0, 113, 227, 0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRingOuter 6s ease-in-out infinite;
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulseRingOuter {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.3; }
}

.gradient-orb {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, #0071e3 0%, #5ac8fa 100%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #af52de 0%, #bf5af2 100%);
    top: 55%;
    left: 65%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    filter: blur(70px);
    opacity: 0.45;
}

/* Fourth orb for more depth */
.hero-bg .orb-4 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ff9500 0%, #ffcc00 100%);
    top: 20%;
    left: 15%;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.3;
    animation: float 25s ease-in-out infinite reverse;
}

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

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #0071e3;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.1);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.title-line {
    display: block;
    color: #1d1d1f;
}

.title-gradient {
    display: block;
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.5;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 980px;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #0071e3 0%, #0077ED 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0077ED 0%, #0071e3 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: #0071e3;
    border: 1px solid rgba(0, 113, 227, 0.3);
}

.btn-secondary:hover {
    background: #0071e3;
    color: white;
    border-color: #0071e3;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat {
    text-align: center;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(0, 113, 227, 0.08);
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: #6e6e73;
    font-weight: 400;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #86868b;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 36px;
    border: 1.5px solid #d2d2d7;
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 6px;
    background: #86868b;
    border-radius: 2px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

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

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

/* ====================================
   Section Common Styles
   ==================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--section-padding);
    padding-left: 24px;
    padding-right: 24px;
}

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

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.text-gradient {
    color: #0071e3;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.5;
}

/* ====================================
   Products Section
   ==================================== */
.products {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 113, 227, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 199, 89, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle gradient overlay on hover */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0071e3, #5ac8fa, #34c759);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 113, 227, 0.2);
    box-shadow: 0 20px 60px rgba(0, 113, 227, 0.12);
    background: #ffffff;
}

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

.product-card:hover::after {
    opacity: 1;
}

.product-card.featured {
    border-color: #0071e3;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.02) 0%, #ffffff 100%);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #0071e3 0%, #5ac8fa 100%);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f4fd 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.05);
}

.product-icon svg {
    width: 28px;
    height: 28px;
    stroke: #0071e3;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 1.375rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.product-description {
    color: #6e6e73;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.product-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #1d1d1f;
}

.product-features li::before {
    content: '✓';
    color: #0071e3;
    font-weight: 600;
    font-size: 0.8rem;
}

.product-glow {
    display: none;
}

.product-card:hover .product-glow {
    opacity: 0.3;
}

/* ====================================
   Services Section - Clean & Minimal
   ==================================== */
.services {
    background: 
        linear-gradient(135deg, rgba(0, 113, 227, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(52, 199, 89, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #f0f5ff 0%, #f5f9ff 30%, #eef6f0 70%, #f0fff4 100%);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

/* Decorative gradient blobs */
.services::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatBlob 15s ease-in-out infinite;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatBlob 20s ease-in-out infinite reverse;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

/* Decorative floating shapes for services */
.services-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.services-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.5;
}

.services-shape.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.12) 0%, rgba(90, 200, 250, 0.08) 100%);
    top: 10%;
    left: 5%;
    animation: morphFloat 15s ease-in-out infinite;
}

.services-shape.shape-2 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(48, 209, 88, 0.06) 100%);
    bottom: 20%;
    right: 8%;
    animation: morphFloat 18s ease-in-out infinite reverse;
}

.services-shape.shape-3 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, rgba(255, 204, 0, 0.06) 100%);
    top: 50%;
    right: 15%;
    animation: morphFloat 12s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes morphFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% { 
        transform: translate(20px, -25px) rotate(90deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% { 
        transform: translate(-15px, 20px) rotate(180deg);
        border-radius: 50% 50% 50% 50%;
    }
    75% { 
        transform: translate(25px, 15px) rotate(270deg);
        border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%;
    }
}

.services .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 1;
}

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

.services .section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0071e3;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.services .section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.services .section-subtitle {
    color: #6e6e73;
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto;
    font-weight: 400;
}

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

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 44px 36px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 113, 227, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0071e3 0%, #5ac8fa 50%, #34c759 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.15);
}

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

.service-number {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8e8ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 20px;
    right: 28px;
    line-height: 1;
}

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

.service-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-description {
    color: #6e6e73;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: #1d1d1f;
    border-bottom: 1px solid #e8e8ed;
}

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

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #0071e3;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

/* Responsive Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .service-number {
        font-size: 3rem;
        top: 16px;
        right: 20px;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
}

/* ====================================
   About Section
   ==================================== */
.about {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative dots pattern */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 113, 227, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to left, black 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to left, black 0%, transparent 80%);
}

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

.about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
    width: 100%;
    height: 450px;
}

.about-shape {
    position: absolute;
    border-radius: 24px;
}

.shape-1 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #0071e3 0%, #5ac8fa 100%);
    top: 0;
    left: 0;
    opacity: 0.2;
    animation: morph 12s ease-in-out infinite;
}

.shape-2 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    bottom: 50px;
    right: 0;
    opacity: 0.1;
    animation: morph 12s ease-in-out infinite reverse;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.about-card {
    position: absolute;
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    animation: floatCard 5s ease-in-out infinite;
}

.about-card:first-of-type {
    top: 80px;
    right: 20px;
}

.about-card.card-2 {
    bottom: 100px;
    left: 20px;
    animation-delay: -2.5s;
}

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

.about-card-icon {
    font-size: 1.75rem;
}

.about-card-text {
    font-weight: 500;
    font-size: 0.9375rem;
    color: #1d1d1f;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    color: #6e6e73;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature .feature-icon {
    font-size: 1.25rem;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.feature-text p {
    color: #6e6e73;
    font-size: 0.875rem;
}

/* ====================================
   Contact Section
   ==================================== */
.contact {
    background: 
        linear-gradient(135deg, rgba(175, 82, 222, 0.04) 0%, transparent 40%),
        linear-gradient(225deg, rgba(0, 113, 227, 0.04) 0%, transparent 40%),
        linear-gradient(180deg, #f5f0ff 0%, #f0f4ff 25%, #f8faff 50%, #f0f8ff 75%, #eef5ff 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative gradient blobs */
.contact::before {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, rgba(90, 200, 250, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob 18s ease-in-out infinite;
}

.contact::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(175, 82, 222, 0.06) 0%, rgba(191, 90, 242, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob 22s ease-in-out infinite reverse;
}

/* Decorative floating shapes */
.contact-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.contact-shape.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15) 0%, rgba(90, 200, 250, 0.1) 100%);
    top: 15%;
    right: 10%;
    animation: floatShape 8s ease-in-out infinite;
}

.contact-shape.shape-2 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(175, 82, 222, 0.12) 0%, rgba(191, 90, 242, 0.08) 100%);
    bottom: 25%;
    left: 8%;
    animation: floatShape 10s ease-in-out infinite reverse;
}

.contact-shape.shape-3 {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.15) 0%, rgba(48, 209, 88, 0.1) 100%);
    top: 40%;
    left: 15%;
    animation: floatShape 12s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(90deg); }
    50% { transform: translate(-10px, 15px) rotate(180deg); }
    75% { transform: translate(20px, 10px) rotate(270deg); }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.06);
}

.contact-card:hover {
    background: #ffffff;
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.2);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0071e3 0%, #5ac8fa 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.contact-details h4 {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.contact-details p {
    color: #6e6e73;
    font-size: 0.875rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 8px 32px rgba(0, 113, 227, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 1rem;
    color: #1d1d1f;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.form-group label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #86868b;
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
    background: #f8fafc;
    padding: 0 6px;
}

.form-group textarea ~ label {
    top: 24px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.8rem;
    color: #0071e3;
    background: #ffffff;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: #f5f5f7;
    border-top: 1px solid #d2d2d7;
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

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

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

.footer-tagline {
    color: #6e6e73;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column a {
    display: block;
    color: #6e6e73;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: #0071e3;
    transform: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #d2d2d7;
}

.footer-bottom p {
    color: #86868b;
    font-size: 0.8rem;
}

.footer-made {
    color: #86868b;
}

/* ====================================
   Back to Top Button
   ==================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #f5f5f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: #1d1d1f;
}

/* ====================================
   Animations
   ==================================== */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-image-container {
        height: 400px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: var(--transition-normal);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
        color: #1d1d1f;
    }
    
    .nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .about-image-container {
        height: 300px;
    }
    
    .shape-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
    }
    
    .about-card {
        padding: 14px 18px;
    }
    
    .about-card-icon {
        font-size: 1.5rem;
    }
    
    .about-card-text {
        font-size: 0.875rem;
    }
    
    .contact-form {
        padding: 28px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .about-features {
        gap: 20px;
    }
    
    .about-feature {
        flex-direction: column;
        gap: 12px;
    }
}

/* ====================================
   Loading Animation
   ==================================== */
.loading {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

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

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

/* ====================================
   Glowing Effects
   ==================================== */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: var(--transition-normal);
}

.glow-effect:hover::after {
    opacity: 0.5;
}
