/* ==========================================
   PRATAMAPEDIA - MODERN E-COMMERCE WEBSITE
   ========================================== */

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

*::before,
*::after {
    box-sizing: inherit;
}

/* CSS Variables */
:root {
    /* Colors — Professional SaaS Palette (Linear/Vercel/Stripe inspired) */
    --primary-color: #2563eb;    /* Blue-600 — primary action */
    --primary-dark: #1d4ed8;     /* Blue-700 — hover states */
    --primary-light: #60a5fa;    /* Blue-400 — subtle accents */
    --secondary-color: #0891b2;  /* Cyan-600 — secondary */
    --accent-color: #059669;     /* Emerald-600 — positive feedback */
    --success-color: #10b981;    /* Emerald-500 */
    --danger-color: #ef4444;     /* Red-500 */

    /* Gradients — Professional, no purple (purple ONLY for logo) */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);  /* Blue→Cyan */
    --gradient-secondary: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%); /* Cyan gradient */
    --gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);  /* Emerald */
    --gradient-hero: #0f172a;  /* Slate-900 solid — no purple gradient */
    --gradient-logo: linear-gradient(135deg, #667eea 0%, #764ba2 100%);  /* Purple ONLY for logo */

    /* Neutral Colors — Tailwind Slate scale */
    --white: #ffffff;
    --black: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography - Enhanced with Fluid Sizing */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* Fluid Font Sizes - Responsive scaling */
    --font-size-xs: clamp(0.7rem, 0.85vw, 0.75rem);
    --font-size-sm: clamp(0.8rem, 1vw, 0.875rem);
    --font-size-base: clamp(0.95rem, 1.1vw, 1rem);
    --font-size-lg: clamp(1.05rem, 1.25vw, 1.125rem);
    --font-size-xl: clamp(1.15rem, 1.4vw, 1.25rem);
    --font-size-2xl: clamp(1.35rem, 1.8vw, 1.5rem);
    --font-size-3xl: clamp(1.65rem, 2.2vw, 1.875rem);
    --font-size-4xl: clamp(1.95rem, 2.8vw, 2.25rem);
    --font-size-5xl: clamp(2.5rem, 4vw + 0.5rem, 3rem);
    --font-size-6xl: clamp(3rem, 5vw + 0.8rem, 3.75rem);

    /* Line Heights - Optimized for readability */
    --line-height-tight: 1.2;
    --line-height-snug: 1.3;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;
    --line-height-loose: 1.8;

    /* Letter Spacing - Premium feel */
    --letter-spacing-tighter: -0.04em;
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.01em;
    --letter-spacing-wider: 0.02em;
    --letter-spacing-widest: 0.05em;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows - Enhanced with Layered Depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-3d: 0 30px 60px -15px rgba(0, 0, 0, 0.3), 0 10px 20px -10px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.2);

    /* Glassmorphism Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(10px) saturate(180%);

    /* Transitions - Enhanced with Premium Easing */
    --transition-instant: 100ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 600ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Premium Easing Functions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed); /* Improved from 1.6 */
    letter-spacing: var(--letter-spacing-wide); /* Better readability */
    color: var(--gray-800);
    background-color: var(--gray-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight); /* Premium feel */
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-5xl);
    letter-spacing: var(--letter-spacing-tighter);
}
h2 {
    font-size: var(--font-size-4xl);
    letter-spacing: var(--letter-spacing-tight);
}
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-relaxed);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Skip Link - Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    text-decoration: none;
    font-weight: 600;
    z-index: var(--z-tooltip);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin: 0;
    background: var(--gradient-logo); /* Purple ONLY for logo branding */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .highlight {
    font-weight: 900;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: var(--font-size-base);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.hamburger:hover span {
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero); /* Slate-900 solid, professional */
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 70%); /* Subtle blue accent, no purple */
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(102, 126, 234, 0.3);
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(240, 147, 251, 0.2);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--glass-bg); /* Glassmorphism */
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: var(--glass-blur); /* Glassmorphism blur */
    animation: fadeInUp 0.8s ease-out;
    box-shadow: var(--shadow-lg);
}

.hero-title {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
    font-size: var(--font-size-6xl);
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: var(--letter-spacing-tighter); /* Refined from -2px */
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-sm);
}

.title-subtitle {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: var(--letter-spacing-normal);
    line-height: var(--line-height-snug);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: var(--line-height-loose); /* Improved readability */
    letter-spacing: var(--letter-spacing-wide);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-3xl);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--ease-out-expo) 400ms;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow; /* Performance optimization */
}



.btn:active {
    transform: scale(0.98); /* Subtle press effect */
}

.btn:focus-visible {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 3px;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

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

section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-primary); /* Blue→Cyan, not purple */
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900); /* Solid text, no gradient */
    letter-spacing: var(--letter-spacing-tight);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.8;
}

.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--ease-out-expo) 400ms;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    will-change: transform, box-shadow; /* Performance optimization */
}

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

/* Stagger animations for service cards */
.service-card:nth-child(1) {
    animation: fadeInUp 0.6s var(--ease-out-expo) 0.1s both;
}

.service-card:nth-child(2) {
    animation: fadeInUp 0.6s var(--ease-out-expo) 0.2s both;
}

.service-card:nth-child(3) {
    animation: fadeInUp 0.6s var(--ease-out-expo) 0.3s both;
}

.service-card:nth-child(4) {
    animation: fadeInUp 0.6s var(--ease-out-expo) 0.4s both;
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(8, 145, 178, 0.04) 100%); /* Blue/Cyan subtle */
}

.featured-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--gradient-primary); /* Blue→Cyan, not purple */
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2); /* Blue shadow, not purple */
    transition: all var(--ease-out-expo) 500ms;
}

.service-card:hover .service-icon {
    transform: translateY(-2px);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.service-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.service-features li:hover {
    background: var(--gray-50);
}

.service-features li i {
    color: var(--success-color);
    font-size: var(--font-size-lg);
    margin-top: 2px;
    flex-shrink: 0;
}

.service-features li div {
    flex: 1;
}

.service-features strong {
    display: block;
    color: var(--gray-900);
    font-weight: 600;
    margin-bottom: 2px;
}

.service-features span {
    display: block;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.service-features small {
    display: block;
    color: var(--gray-500);
    font-size: var(--font-size-xs);
    margin-top: 2px;
    font-style: italic;
}

.btn-order {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 14px var(--spacing-md);
    background: var(--gray-900); /* Solid dark, professional */
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ease-out-expo) 300ms;
    box-shadow: none;
}

.btn-order:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-order i {
    font-size: var(--font-size-xl);
}

/* Technology Section */
.technology {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--ease-out-expo) 400ms;
    cursor: pointer;
    will-change: transform, box-shadow;
}

.tech-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3d);
}

.tech-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--ease-out-expo) 500ms;
    box-shadow: var(--shadow-md);
}

.tech-item:hover .tech-icon {
    transform: translateY(-4px);
}

.tech-icon i {
    font-size: var(--font-size-3xl);
    color: var(--white);
}

/* SVG Logo Styling - Official Technology Logos */
.tech-icon svg {
    width: 32px;
    height: 32px;
}

.tech-item span {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    padding: var(--spacing-2xl);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 0;
}

.contact-card:hover::before {
    opacity: 0.05;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3d);
}

.contact-card.whatsapp .contact-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-card.instagram .contact-icon {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-smooth);
    position: relative;
    z-index: 1;
}

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

.contact-icon i {
    font-size: var(--font-size-5xl);
    color: var(--white);
}

.contact-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.contact-number,
.contact-username {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: all var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.contact-card.whatsapp .btn-contact {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-card.instagram .btn-contact {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

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

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-subtitle {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-description {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: var(--font-size-xl);
    transition: all var(--transition-smooth);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-300);
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--gray-300);
}

.footer-contact i {
    font-size: var(--font-size-lg);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom i {
    color: var(--danger-color);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: var(--font-size-xl);
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-smooth);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-3d);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: var(--z-fixed);
    transition: all var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
    color: var(--white);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

/* ==========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ========================================== */

/* Tablet Landscape & Smaller Desktops (1024px and below) */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-3xl); }
    h3 { font-size: var(--font-size-2xl); }

    .title-line {
        font-size: var(--font-size-5xl);
    }

    .hero-stats {
        gap: var(--spacing-lg);
    }

    .services-grid,
    .tech-grid,
    .contact-grid {
        gap: var(--spacing-lg);
    }
}

/* Tablet Portrait (768px - 1024px) */
@media screen and (max-width: 768px) {
    /* Base Typography Adjustments */
    html {
        font-size: 14px;
    }

    h1 { font-size: var(--font-size-3xl); }
    h2 { font-size: var(--font-size-2xl); }
    h3 { font-size: var(--font-size-xl); }

    .container {
        max-width: 100%;
        padding: 0 1.75rem;
    }

    /* Navigation - Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-xl);
        box-shadow: var(--shadow-xl);
        transition: left var(--transition-smooth);
        z-index: var(--z-modal);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: var(--spacing-md);
    }

    .nav-link {
        display: block;
        padding: var(--spacing-md);
        font-size: var(--font-size-lg);
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding: var(--spacing-2xl) 0;
    }

    .title-line {
        font-size: var(--font-size-4xl);
        letter-spacing: -1px;
    }

    .title-subtitle {
        font-size: var(--font-size-xl);
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: var(--font-size-3xl);
    }

    /* Sections */
    section {
        padding: var(--spacing-2xl) 0;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .section-description {
        font-size: var(--font-size-base);
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    /* Technology Grid */
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--spacing-md);
    }

    .tech-item {
        padding: var(--spacing-md);
    }

    .tech-icon {
        width: 50px;
        height: 50px;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    /* Floating Buttons */
    .whatsapp-float {
        bottom: 100px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Mobile Devices (576px and below) */
@media screen and (max-width: 576px) {
    /* Base Typography */
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Header */
    .navbar {
        padding: var(--spacing-sm) 0;
    }

    .logo h1 {
        font-size: var(--font-size-xl);
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: var(--spacing-lg);
    }

    /* Hero Section */
    .hero {
        min-height: 80vh;
        padding: var(--spacing-xl) 0;
    }

    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .title-line {
        font-size: var(--font-size-3xl);
        letter-spacing: 0;
        margin-bottom: var(--spacing-xs);
    }

    .title-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-lg);
    }

    .hero-buttons {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-2xl);
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        max-width: 300px;
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .stat-label {
        font-size: var(--font-size-xs);
    }

    /* Sections */
    section {
        padding: var(--spacing-xl) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-2xl);
    }

    .section-badge {
        font-size: var(--font-size-xs);
        padding: 4px var(--spacing-sm);
    }

    .section-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-sm);
    }

    .section-description {
        font-size: var(--font-size-sm);
    }

    /* Service Cards */
    .service-card {
        padding: var(--spacing-md);
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-md);
    }

    .service-icon i {
        font-size: var(--font-size-3xl);
    }

    .service-title {
        font-size: var(--font-size-xl);
    }

    .service-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-md);
    }

    .service-features {
        margin-bottom: var(--spacing-lg);
    }

    .service-features li {
        padding: var(--spacing-xs);
        margin-bottom: var(--spacing-sm);
    }

    .service-features strong {
        font-size: var(--font-size-sm);
    }

    .service-features span {
        font-size: var(--font-size-xs);
    }

    .featured-badge {
        font-size: var(--font-size-xs);
        padding: 4px var(--spacing-xs);
    }

    .btn-order {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }

    /* Technology Grid */
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }

    .tech-item {
        padding: var(--spacing-sm);
    }

    .tech-icon {
        width: 40px;
        height: 40px;
    }

    .tech-icon i {
        font-size: var(--font-size-2xl);
    }

    .tech-item span {
        font-size: var(--font-size-xs);
    }

    /* Contact Cards */
    .contact-card {
        padding: var(--spacing-xl);
    }

    .contact-icon {
        width: 80px;
        height: 80px;
        margin-bottom: var(--spacing-md);
    }

    .contact-icon i {
        font-size: var(--font-size-4xl);
    }

    .contact-card h3 {
        font-size: var(--font-size-xl);
    }

    .contact-number,
    .contact-username {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-md);
    }

    .btn-contact {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }

    /* Footer */
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-md);
    }

    .footer-title {
        font-size: var(--font-size-xl);
    }

    .footer-subtitle {
        font-size: var(--font-size-base);
    }

    .footer-description {
        font-size: var(--font-size-sm);
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-lg);
    }

    .footer-links,
    .footer-contact {
        font-size: var(--font-size-sm);
    }

    .footer-bottom {
        font-size: var(--font-size-xs);
        padding-top: var(--spacing-md);
    }

    /* Floating Buttons */
    .whatsapp-float {
        bottom: 90px;
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: var(--font-size-lg);
    }

    /* Reduce animations on small screens for performance */
    .shape {
        animation: none;
    }
}

/* Extra Small Devices (320px - 480px) */
@media screen and (max-width: 480px) {
    .title-line {
        font-size: var(--font-size-2xl);
    }

    .title-subtitle {
        font-size: var(--font-size-base);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        max-width: 250px;
    }
}

/* Landscape Orientation Adjustments for Mobile */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }

    .nav-menu {
        height: calc(100vh - 60px);
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================
   PERFORMANCE & POLISH ENHANCEMENTS
   ========================================== */

/* Custom Scrollbar - Premium Feel */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid var(--gray-100);
    transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #667eea var(--gray-100);
}

/* Custom Text Selection */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--gray-900);
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--gray-900);
}

/* Focus Styles - Accessibility */
*:focus-visible {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 3px;
    transition: outline-offset var(--transition-fast);
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed header */
}

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

    .shape {
        animation: none !important;
    }
}

/* Performance Hints for Animated Elements */
.service-card,
.tech-item,
.contact-card,
.btn,
.floating-shapes {
    will-change: transform;
}

.service-card,
.contact-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Loading State Skeleton (for future use) */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--gray-200) 25%,
        var(--gray-100) 50%,
        var(--gray-200) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
