/* ========================================
   COMPLETE OPTIMIZED CSS FOR APP DEVELOPMENT PAGE
   Enhanced Navy Theme with Original Functionality
   ======================================== */

:root {
    /* === PRIMARY COLOR PALETTE - NAVY THEME === */
    --primary-900: #0a0f1c;        /* Deep navy background like image */
    --primary-800: #1a2332;        /* Main background - navy blue */
    --primary-700: #2a3441;        /* Card backgrounds */
    --primary-600: #3a4651;        /* Elevated surfaces */
    --primary-500: #64748b;        /* Muted text */
    --primary-400: #94a3b8;        /* Secondary text */
    --primary-300: #cbd5e1;        /* Primary text */
    --primary-200: #e2e8f0;        /* High contrast text */
    --primary-100: #f8fafc;        /* Brightest text */

    /* === ACCENT COLORS - MATCHED TO IMAGE === */
    --accent-primary: #4f7df3;      /* Bright blue from image buttons */
    --accent-primary-dark: #1d4ed8; /* Darker blue for depth */
    --accent-primary-light: #6b8bf5; /* Lighter blue for highlights */
    --accent-secondary: #7c3aed;    /* Purple accent */
    --accent-tertiary: #0ea5e9;     /* Sky blue for variety */

    /* === PLATFORM COLORS === */
    --android-primary: #34d399;     /* Android green - softer */
    --android-secondary: #10b981;   /* Darker green */
    --ios-primary: #3b82f6;         /* iOS blue matching theme */
    --ios-secondary: #1d4ed8;       /* Darker iOS blue */

    /* === STATUS COLORS === */
    --success: #22c55e;             /* Success green */
    --warning: #f59e0b;             /* Warning amber */
    --error: #ef4444;               /* Error red */
    --info: #0ea5e9;                /* Info sky blue */

    /* === SURFACE COLORS - NAVY THEME === */
    --surface-base: rgba(26, 35, 50, 0.95);
    --surface-elevated: rgba(42, 52, 65, 0.9);
    --surface-card: rgba(58, 70, 81, 0.6);
    --surface-overlay: rgba(26, 35, 50, 0.98);

    /* === BORDER COLORS === */
    --border-subtle: rgba(79, 125, 243, 0.1);
    --border-default: rgba(79, 125, 243, 0.2);
    --border-emphasis: rgba(79, 125, 243, 0.4);

    /* === SHADOW COLORS === */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 15px rgba(79, 125, 243, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.35);
    --shadow-accent: 0 8px 25px rgba(79, 125, 243, 0.3);

    /* === GRADIENT COMBINATIONS - NAVY THEME === */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    --gradient-surface: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-700) 100%);
    --gradient-card: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(42, 52, 65, 0.6) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 50%, var(--primary-700) 100%);
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--primary-900);
    color: var(--primary-300);
    overflow-x: hidden;
    line-height: 1.6;
    font-feature-settings: 'liga' 1, 'kern' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === BACKGROUND ANIMATION === */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: var(--gradient-hero);
}

.cloud-layers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cloud-layer {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 30% 40%, rgba(79, 125, 243, 0.04) 0%, transparent 65%);
    animation: gentleDrift 120s infinite linear;
    will-change: transform;
}

.cloud-layer:nth-child(2) {
    animation-delay: -60s;
    transform: rotate(180deg);
    background: radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.03) 0%, transparent 65%);
}

@keyframes gentleDrift {
    0% { transform: translateX(-2%) translateY(-2%); }
    50% { transform: translateX(2%) translateY(1%); }
    100% { transform: translateX(-2%) translateY(-2%); }
}

.security-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: subtleGrid 90s linear infinite;
    opacity: 0.5;
}

@keyframes subtleGrid {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.security-shields {
    position: absolute;
    width: 100%;
    height: 100%;
}

.security-shield {
    position: absolute;
    font-size: 18px;
    animation: gentleFloat 45s infinite ease-in-out;
    will-change: transform;
    filter: blur(0.5px);
}

.security-shield:nth-child(1) { 
    top: 20%; 
    left: 15%; 
    animation-delay: 0s;
    color: var(--android-primary);
    filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.3));
}

.security-shield:nth-child(2) { 
    top: 30%; 
    right: 20%; 
    animation-delay: 15s; 
    color: var(--ios-primary);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.security-shield:nth-child(3) { 
    bottom: 35%; 
    left: 25%; 
    animation-delay: 30s; 
    color: var(--accent-secondary);
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.2));
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: translateY(-15px) scale(1.05); 
        opacity: 0.8; 
    }
}

/* === HEADER & NAVIGATION === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--surface-overlay);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: var(--surface-overlay);
    border-bottom-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* === LOGO === */
.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 170px;
    height: 50px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px rgba(79, 125, 243, 0.4);
    transition: box-shadow 0.3s ease;
}

.logo-icon:hover {
    box-shadow: 0 0 40px rgba(79, 125, 243, 0.6);
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary), var(--accent-primary));
    border-radius: 18px;
    z-index: -1;
    animation: logoGlow 4s linear infinite;
    background-size: 300% 300%;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    filter: brightness(1.1) contrast(1.05);
}

@keyframes logoGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === NAVIGATION LINKS === */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--primary-300);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 12px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--primary-100);
    transform: translateY(-1px);
}

.nav-links a:hover::before {
    opacity: 0.1;
}

/* === DROPDOWN === */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface-overlay);
    backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 1rem 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--primary-400);
    border-radius: 0;
    background: none;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(79, 125, 243, 0.08);
    color: var(--accent-primary-light);
    transform: translateX(4px);
}

/* === MOBILE MENU === */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--primary-300);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    background: rgba(79, 125, 243, 0.1);
    color: var(--accent-primary);
}

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === SKIP LINK === */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    z-index: 1100;
    transition: all 0.3s ease;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* === SERVICE HERO SECTION === */
.service-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 8rem 0 2rem;
    background: var(--gradient-hero);
}

.service-hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

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

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--primary-500);
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--accent-primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-100);
}

.service-icon-large {
    font-size: 5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.mobile-icon {
    font-size: 4.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: mobileFloat 6s ease-in-out infinite;
    cursor: pointer;
}

.mobile-icon.android {
    color: var(--android-primary);
    filter: drop-shadow(0 0 15px rgba(52, 211, 153, 0.4));
    animation-delay: 0s;
}

.mobile-icon.ios {
    color: var(--ios-primary);
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
    animation-delay: 3s;
}

@keyframes mobileFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        filter: brightness(1);
    }
    50% { 
        transform: translateY(-12px) scale(1.02); 
        filter: brightness(1.1);
    }
}

.mobile-icon:hover {
    transform: scale(1.15) !important;
    animation-play-state: paused;
}

.service-hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-100);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.service-hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--primary-400);
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BUTTON STYLES === */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-100);
    box-shadow: var(--shadow-accent);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(79, 125, 243, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 10px;
}

.btn-secondary:hover {
    color: var(--primary-100);
    border-color: var(--accent-primary-light);
    transform: translateY(-2px);
}

.btn-secondary:hover::before {
    opacity: 1;
}

/* === SERVICE OVERVIEW === */
.service-overview {
    padding: 6rem 0;
    background: rgba(26, 35, 50, 0.7);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text {
    animation: slideInLeft 0.8s ease-out;
}

.overview-visual {
    animation: slideInRight 0.8s ease-out;
}

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

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

.overview-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-100);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.overview-text p {
    color: var(--primary-400);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.15rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--gradient-card);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px) saturate(1.2);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.benefit-item:hover {
    transform: translateY(-8px);
    border-color: var(--border-emphasis);
    box-shadow: var(--shadow-xl);
}

.benefit-item:hover::before {
    opacity: 0.04;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-item h3 {
    color: var(--primary-100);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--primary-400);
    font-size: 0.9rem;
    line-height: 1.5;
}

.overview-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-animation {
    background: var(--gradient-card);
    border-radius: 24px;
    padding: 3rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-default);
    position: relative;
    backdrop-filter: blur(20px) saturate(1.2);
}

.app-layers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 300px;
}

.app-layer {
    background: rgba(79, 125, 243, 0.08);
    border: 2px solid var(--border-default);
    padding: 1.5rem;
    border-radius: 12px;
    color: var(--accent-primary);
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 0.5rem;
}

.layer-icon {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.layer-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.app-layer:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(79, 125, 243, 0.2);
    background: rgba(79, 125, 243, 0.12);
}

.app-layer:hover .layer-icon {
    transform: scale(1.2);
}

.app-layer.android-layer {
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.25);
    color: var(--android-primary);
}

.app-layer.android-layer:hover {
    background: rgba(52, 211, 153, 0.12);
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.2);
}

.app-layer.ios-layer {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--ios-primary);
}

.app-layer.ios-layer:hover {
    background: rgba(59, 130, 246, 0.12);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* === SERVICE FEATURES === */
.service-features {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(42, 52, 65, 0.6) 0%, rgba(58, 70, 81, 0.4) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-badge {
    display: inline-block;
    background: rgba(79, 125, 243, 0.12);
    color: var(--accent-primary-light);
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--border-default);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-100);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-description {
    color: var(--primary-400);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px) saturate(1.2);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-emphasis);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    opacity: 0.04;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.platform-icon {
    font-size: 2.5rem;
    transition: all 0.3s ease;
    animation: platformBounce 3s ease-in-out infinite;
}

.platform-icon.android {
    color: var(--android-primary);
    animation-delay: 0s;
    filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.3));
}

.platform-icon.ios {
    color: var(--ios-primary);
    animation-delay: 1.5s;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

@keyframes platformBounce {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-5px) scale(1.1); 
    }
}

.platform-icon:hover {
    transform: scale(1.3) !important;
    animation-play-state: paused;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    color: var(--primary-100);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--primary-400);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    color: var(--primary-300);
    padding: 0.6rem 0;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    transition: color 0.3s ease;
}

.feature-card li:hover {
    color: var(--primary-100);
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1rem;
}

/* === TECHNOLOGIES SECTION === */
.technologies-section {
    padding: 6rem 0;
    background: var(--gradient-surface);
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.tech-category {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.tech-category:nth-child(1) { animation-delay: 0.1s; }
.tech-category:nth-child(2) { animation-delay: 0.2s; }
.tech-category:nth-child(3) { animation-delay: 0.3s; }
.tech-category:nth-child(4) { animation-delay: 0.4s; }

.tech-category h3 {
    color: var(--primary-100);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
}

.tech-category h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-logo {
    transition: all 0.4s ease;
    cursor: pointer;
}

.tech-logo:hover {
    transform: translateY(-5px);
}

.logo-placeholder {
    width: 100%;
    height: 85px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tech-logo:hover .logo-placeholder::before {
    transform: translateX(100%);
}

.tech-logo:hover .logo-placeholder {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* === PROCESS SECTION === */
.process-section {
    padding: 6rem 0;
    background: rgba(26, 35, 50, 0.7);
}

.process-timeline {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.step-number {
    background: var(--gradient-primary);
    color: var(--primary-100);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-accent);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--primary-100);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: var(--primary-400);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content li {
    color: var(--primary-300);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.step-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* === CTA SECTION === */
.service-cta {
    padding: 6rem 0;
    background: rgba(26, 35, 50, 0.8);
    text-align: center;
}

.cta-content {
    animation: fadeInUp 0.8s ease-out;
}

.cta-content h2 {
    color: var(--primary-100);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta-content p {
    color: var(--primary-400);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
footer {
    background: var(--gradient-surface);
    color: var(--primary-400);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-default);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-brand p {
    color: var(--primary-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-brand .logo-icon {
    width: 150px;
    height: 45px;
}

.footer-links h4 {
    color: var(--primary-100);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--primary-400);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
    display: block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-default);
    color: var(--primary-500);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface-overlay);
        backdrop-filter: blur(20px) saturate(1.5);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid var(--border-default);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(79, 125, 243, 0.1);
        margin-top: 0.5rem;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .app-layers {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-hero h1 {
        font-size: 3rem;
    }

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

    .technologies-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 1rem;
    }

    .service-hero {
        padding: 6rem 0 2rem;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-hero p {
        font-size: 1.1rem;
    }

    .service-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .overview-text h2 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .tech-logos {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .logo-placeholder {
        height: 60px;
        font-size: 1rem;
    }

    .mobile-icons {
        gap: 1rem;
    }
    
    .mobile-icon {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 1rem 0;
        min-height: 90vh;
    }

    .service-hero h1 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .app-animation {
        padding: 2rem;
    }

    .benefits-grid {
        gap: 1rem;
    }

    .benefit-item {
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-300: #ffffff;
        --primary-400: #e2e8f0;
        --border-subtle: rgba(79, 125, 243, 0.3);
        --border-default: rgba(79, 125, 243, 0.5);
    }
}

/* Keyboard navigation support */
.keyboard-navigation *:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Enhanced interactive elements */
.feature-card, .benefit-item, .app-layer, .tech-logo, .process-step {
    cursor: pointer;
}

.feature-card:focus,
.benefit-item:focus,
.app-layer:focus,
.tech-logo:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .bg-animation,
    .security-shields,
    .cloud-layers {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .service-hero,
    .service-features,
    .technologies-section,
    .process-section,
    .service-cta {
        background: white;
    }
    
}

/* ========================================
   TECHNOLOGY STACK SECTION - COMPLETE CSS
   Enhanced Navy Theme with Professional Icons
   ======================================== */

/* === TECHNOLOGIES SECTION === */
.technologies-section {
    padding: 6rem 0;
    background: var(--gradient-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-badge {
    display: inline-block;
    background: rgba(79, 125, 243, 0.12);
    color: var(--accent-primary-light);
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--border-default);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-100);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-description {
    color: var(--primary-400);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === TECHNOLOGIES GRID === */
.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

/* === TECH CATEGORY === */
.tech-category {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.tech-category:nth-child(1) { animation-delay: 0.1s; }
.tech-category:nth-child(2) { animation-delay: 0.2s; }
.tech-category:nth-child(3) { animation-delay: 0.3s; }
.tech-category:nth-child(4) { animation-delay: 0.4s; }

.tech-category h3 {
    color: var(--primary-100);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
}

.tech-category h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* === TECH LOGOS GRID === */
.tech-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* === INDIVIDUAL TECH LOGO === */
.tech-logo {
    background: var(--gradient-card);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px) saturate(1.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 120px;
    justify-content: center;
}

.tech-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 16px;
}

.tech-logo:hover {
    transform: translateY(-8px);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-emphasis);
}

.tech-logo:hover::before {
    opacity: 0.04;
}

/* === LOGO ICON === */
.tech-logo-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(1.1) contrast(1.05);
}

.tech-logo:hover .logo-icon {
    transform: scale(1.15) rotate(5deg);
}

/* === LOGO NAME === */
.logo-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-200);
    transition: color 0.3s ease;
    line-height: 1.3;
}

.tech-logo:hover .logo-name {
    color: var(--primary-100);
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1024px) {
    .technologies-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .tech-category h3 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .technologies-section {
        padding: 4rem 0;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-logo {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }
    
    
    .logo-name {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tech-logos {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tech-logo {
        padding: 1.5rem;
        min-height: 90px;
    }
    

    
    .logo-name {
        font-size: 0.8rem;
    }
    
    .tech-category h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

/* === ANIMATION KEYFRAMES === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === LOADING ANIMATION === */
.tech-logo-icon {
    animation: fadeInIcon 0.6s ease forwards;
}

.tech-logo:nth-child(1) .logo-icon { animation-delay: 0.1s; }
.tech-logo:nth-child(2) .logo-icon { animation-delay: 0.2s; }
.tech-logo:nth-child(3) .logo-icon { animation-delay: 0.3s; }
.tech-logo:nth-child(4) .logo-icon { animation-delay: 0.4s; }

@keyframes fadeInIcon {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    .tech-logo,
    .tech-logo-icon,
    .tech-category {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.tech-logo:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 16px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .tech-logo {
        border: 2px solid var(--border-default);
    }
    
    .logo-name {
        color: var(--primary-100);
        font-weight: 700;
    }
}

/* === PRINT STYLES === */
@media print {
    .technologies-section {
        background: white;
        padding: 2rem 0;
    }
    
    .tech-logo {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .section-title,
    .tech-category h3,
    .logo-name {
        color: black;
    }
    
    .section-badge {
        background: #f0f0f0;
        color: black;
        border: 1px solid #ccc;
    }
}

/* === ADDITIONAL INTERACTIVE EFFECTS === */
.tech-logo {
    position: relative;
}

.tech-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    border-radius: 16px;
}

.tech-logo:hover::after {
    transform: translateX(100%);
}

/* === KEYBOARD NAVIGATION === */
.tech-logo[tabindex="0"]:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* === TOUCH DEVICE OPTIMIZATIONS === */
@media (hover: none) and (pointer: coarse) {
    .tech-logo:hover {
        transform: none;
    }
    
    .tech-logo:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .tec-logo-icon {
        width: 44px;
        height: 44px;
    }
}

