/* ================================================================
   SLAMA Consulting -- Professional Agency Stylesheet
   Refined Design System with Subtle Neo-Brutalism Accents
   ================================================================ */

/* ── CSS Custom Properties ── */
:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #00897B;
    --accent: #FFB300;
    --ink: #1A1A1A;
    --ink-light: #3A3A3A;
    --cream: #FFFBF0;
    --cream-dark: #F5F0E1;
    --card: #FFFFFF;
    --success: #4CAF50;
    --error: #F44336;
    --outline: rgba(0,0,0,0.08);
    --shadow: rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --brutal-offset: 4px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* extended palette for professional look */
    --surface: #FAFAFA;
    --surface-elevated: #FFFFFF;
    --border-subtle: rgba(0,0,0,0.06);
    --glow-primary: rgba(255,107,53,0.25);
    --glow-primary-soft: rgba(255,107,53,0.10);
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8F5E 50%, #E55A2B 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(255,107,53,0.08) 0%, transparent 50%),
                     radial-gradient(ellipse at 80% 20%, rgba(0,137,123,0.06) 0%, transparent 50%),
                     radial-gradient(ellipse at 40% 80%, rgba(255,179,0,0.05) 0%, transparent 50%);
    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--surface);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

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

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

::selection {
    background: rgba(255,107,53,0.15);
    color: var(--ink);
}

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

/* ── Scroll-reveal Animations (Intersection Observer) ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

/* ══════════════════════════════════════
   BRUTAL CARD
   Refined neo-brutalism with softer shadow
   ══════════════════════════════════════ */
.brutal-card {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.brutal-card::after {
    content: '';
    position: absolute;
    top: var(--brutal-offset);
    left: var(--brutal-offset);
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.07);
    border-radius: var(--radius-md);
    z-index: -1;
    transition: all var(--transition);
}

.brutal-card:hover {
    border-color: rgba(255,107,53,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.brutal-card:hover::after {
    top: 6px;
    left: 6px;
    background: rgba(255,107,53,0.12);
}

/* Accent variant */
.brutal-card-accent {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    position: relative;
    color: white;
    overflow: hidden;
}

.brutal-card-accent h1,
.brutal-card-accent h2,
.brutal-card-accent h3,
.brutal-card-accent h4,
.brutal-card-accent p,
.brutal-card-accent a:not(.btn-white),
.brutal-card-accent span,
.brutal-card-accent li {
    color: white;
}

.brutal-card-accent .btn-white {
    color: var(--primary) !important;
}

.brutal-card-accent .btn-white span {
    color: var(--primary) !important;
}

.brutal-card-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.brutal-card-accent::after {
    content: '';
    position: absolute;
    top: var(--brutal-offset);
    left: var(--brutal-offset);
    width: 100%;
    height: 100%;
    background: rgba(255,107,53,0.25);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ══════════════════════════════════════
   BUTTONS
   Gradient backgrounds, subtle glow
   ══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    position: relative;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn::after {
    content: '';
    position: absolute;
    top: var(--brutal-offset);
    left: var(--brutal-offset);
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    z-index: -1;
    transition: all var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Primary button with gradient */
.btn-primary {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: 0 4px 16px rgba(255,107,53,0.25);
}

.btn-primary span,
.btn-primary .material-icons-round {
    color: white !important;
}

.navbar-links .btn-primary {
    color: white !important;
}

.btn-primary::after {
    background: rgba(255,107,53,0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(255,107,53,0.35);
    color: white !important;
}

/* Outline button */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline::after {
    background: rgba(255,107,53,0.08);
}

.btn-outline:hover {
    background: rgba(255,107,53,0.05);
    box-shadow: 0 4px 20px rgba(255,107,53,0.15);
    color: var(--primary);
}

/* White button */
.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-white::after {
    background: rgba(255,255,255,0.2);
}

.btn-white:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    color: var(--primary-dark);
}

/* Dark button */
.btn-dark {
    background: var(--gradient-dark);
    color: white;
}

.btn-dark::after {
    background: rgba(0,0,0,0.15);
}

.btn-dark:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
    color: white;
}

/* ══════════════════════════════════════
   SECTIONS
   Gradient backgrounds, subtle patterns
   ══════════════════════════════════════ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--gradient-dark);
    color: white;
    position: relative;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p,
.section-dark span,
.section-dark li,
.section-dark .section-label,
.section-dark .section-title,
.section-dark .section-subtitle {
    color: white;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.section-primary {
    background: var(--gradient-primary);
    color: white;
}

.section-primary h1,
.section-primary h2,
.section-primary h3,
.section-primary h4,
.section-primary p,
.section-primary a:not(.btn-white),
.section-primary span,
.section-primary li,
.section-primary .section-label,
.section-primary .section-title,
.section-primary .section-subtitle {
    color: white;
}

.section-primary .section-label::before {
    background: white;
}

.section-primary .btn-white {
    color: var(--primary) !important;
}

.section-primary .btn-white span {
    color: var(--primary) !important;
}

.section-warm {
    background: linear-gradient(135deg, #3D2010 0%, #5C2E15 50%, #7A3A1A 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-warm h1,
.section-warm h2,
.section-warm h3,
.section-warm h4,
.section-warm p,
.section-warm a:not(.btn-white),
.section-warm span,
.section-warm li,
.section-warm .section-label,
.section-warm .section-title,
.section-warm .section-subtitle,
.section-warm .portfolio-feature {
    color: white;
}

.section-warm .btn-white {
    color: var(--primary) !important;
}

.section-warm .btn-white span {
    color: var(--primary) !important;
}

.section-warm .section-label::before {
    background: white;
}

.section-warm::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Section titles */
.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 17px;
    opacity: 0.65;
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.section-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.section-dark .section-label {
    color: var(--accent);
}

.section-dark .section-label::before {
    background: var(--accent);
}

.section-warm .section-label {
    color: var(--accent);
}

.section-warm .section-label::before {
    background: var(--accent);
}

/* ══════════════════════════════════════
   NAVIGATION
   Glass morphism, refined spacing
   ══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,250,250,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 30px rgba(0,0,0,0.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.navbar-logo .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.5px;
    box-shadow: 0 2px 8px rgba(255,107,53,0.3);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.navbar-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-light);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width var(--transition);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--primary);
}

.navbar-cta {
    margin-left: 20px;
}

/* Exclude underline effect from buttons and lang-btn inside navbar */
.navbar-links .btn::after,
.navbar-links .lang-btn::after {
    display: none;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all var(--transition);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 28px 24px;
        gap: 18px;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links a::after {
        display: none;
    }

    .navbar-cta {
        margin-left: 0;
    }
}

/* ══════════════════════════════════════
   HERO SECTION
   Dot grid background, gradient mesh,
   larger typography
   ══════════════════════════════════════ */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

/* Dot grid pattern */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Gradient mesh blobs */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-text h1 span {
    color: var(--primary);
    position: relative;
}

.hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255,107,53,0.2);
    border-radius: 3px;
}

.hero-text p {
    font-size: 18px;
    color: var(--ink-light);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

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

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Phone mockup with realistic bezel */
.hero-phone {
    width: 280px;
    height: 570px;
    background: #0D0D0D;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 0 0 2px #2A2A2A,
        0 25px 60px rgba(0,0,0,0.3),
        0 10px 25px rgba(0,0,0,0.2),
        inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Notch / dynamic island */
.hero-phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #0D0D0D;
    border-radius: 12px;
    z-index: 10;
}

.hero-phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px 40px;
    color: white;
    text-align: center;
    position: relative;
}

.hero-phone-screen h1,
.hero-phone-screen h2,
.hero-phone-screen h3,
.hero-phone-screen h4,
.hero-phone-screen p,
.hero-phone-screen > span,
.hero-phone-screen .app-name,
.hero-phone-screen .app-tagline {
    color: white;
}

.hero-phone-screen a {
    color: inherit;
}

.hero-phone-screen a span {
    color: inherit !important;
}

/* Subtle screen shine */
.hero-phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    pointer-events: none;
}

.hero-phone-screen .app-icon {
    width: 72px;
    height: 72px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero-phone-screen .app-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.hero-phone-screen .app-tagline {
    font-size: 13px;
    opacity: 0.8;
    font-weight: 500;
}

/* Floating badges around hero */
.hero-badge {
    position: absolute;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.hero-badge-1 {
    top: 20%;
    right: -20px;
    background: rgba(255,255,255,0.95);
    color: var(--ink);
    animation-delay: 0s;
}

.hero-badge-2 {
    bottom: 25%;
    left: -30px;
    background: var(--accent);
    color: var(--ink);
    animation-delay: 1.5s;
}

.hero-badge-3 {
    top: 60%;
    right: -40px;
    background: var(--success);
    color: white;
    animation-delay: 3s;
}

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

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 130px 0 60px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .hero-text h1 {
        font-size: 36px;
        letter-spacing: -0.02em;
    }

    .hero-text p {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-phone {
        width: 230px;
        height: 470px;
        border-radius: 32px;
    }

    .hero-phone::before {
        width: 64px;
        height: 20px;
        top: 10px;
    }

    .hero-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-phone {
        width: 200px;
        height: 410px;
    }
}

/* ══════════════════════════════════════
   STATS BAR
   Gradient text, animated counter style
   ══════════════════════════════════════ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: transform var(--transition);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    transform: scale(1.02);
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    opacity: 0.6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: 28px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .stat-value {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }
}

/* ══════════════════════════════════════
   SERVICES GRID
   Left border accent, top gradient hover
   ══════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    padding: 36px 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    border-left: 3px solid transparent;
    overflow: hidden;
}

/* Gradient top border on hover using pseudo-element */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-left-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: transform var(--transition);
}

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

.service-icon.orange { background: rgba(255,107,53,0.1); color: var(--primary); }
.service-icon.teal { background: rgba(0,137,123,0.1); color: var(--secondary); }
.service-icon.gold { background: rgba(255,179,0,0.1); color: var(--accent); }
.service-icon.green { background: rgba(76,175,80,0.1); color: var(--success); }
.service-icon.purple { background: rgba(156,39,176,0.1); color: #9C27B0; }
.service-icon.blue { background: rgba(33,150,243,0.1); color: #2196F3; }

.service-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px 24px;
    }
}

/* ══════════════════════════════════════
   PORTFOLIO / APP SHOWCASE
   Realistic phone bezel, better layout
   ══════════════════════════════════════ */
.portfolio-showcase {
    display: flex;
    align-items: center;
    gap: 72px;
}

.portfolio-phone {
    width: 300px;
    flex-shrink: 0;
}

.portfolio-info {
    flex: 1;
}

.portfolio-info h3 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.portfolio-info p {
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.8;
    opacity: 0.9;
}

.portfolio-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.portfolio-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.portfolio-feature .check {
    width: 22px;
    height: 22px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(76,175,80,0.3);
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tech-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255,107,53,0.08);
    color: var(--primary);
    border: 1px solid rgba(255,107,53,0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}

.tech-badge:hover {
    background: rgba(255,107,53,0.15);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .portfolio-showcase {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .portfolio-phone {
        width: 240px;
    }

    .portfolio-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .portfolio-info h3 {
        font-size: 24px;
    }
}

/* ══════════════════════════════════════
   ABOUT / TEAM
   ══════════════════════════════════════ */
.about-content {
    display: flex;
    gap: 72px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
    color: var(--ink-light);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.value-item {
    text-align: center;
    padding: 24px;
    transition: transform var(--transition);
}

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

.value-item .value-emoji {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.value-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-item p {
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════
   CONTACT
   Glow focus states, bigger inputs
   ══════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
    color: var(--ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0,0,0,0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--glow-primary-soft);
    background: white;
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233A3A3A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: transform var(--transition);
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,107,53,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: all var(--transition);
}

.contact-item:hover .contact-icon {
    background: rgba(255,107,53,0.15);
    box-shadow: 0 4px 16px rgba(255,107,53,0.15);
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 28px;
    }
}

/* ══════════════════════════════════════
   FOOTER
   Modern layout, better spacing
   ══════════════════════════════════════ */
.footer {
    background: var(--ink);
    color: white;
    padding: 80px 0 36px;
    position: relative;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.5;
    margin-top: 16px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
    transition: all var(--transition);
    padding: 2px 0;
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.4;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ══════════════════════════════════════
   BLOG CARDS
   Overlay gradient, image hover zoom
   ══════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.blog-thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition);
}

/* Hover overlay gradient */
.blog-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.blog-card:hover .blog-thumb::after {
    opacity: 1;
}

.blog-card:hover .blog-thumb {
    transform: scale(1.02);
}

.blog-body {
    padding: 24px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.blog-tag.mobile { background: rgba(255,107,53,0.1); color: var(--primary); }
.blog-tag.cloud { background: rgba(0,137,123,0.1); color: var(--secondary); }
.blog-tag.ai { background: rgba(255,179,0,0.1); color: var(--accent); }

.blog-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    transition: color var(--transition);
}

.blog-card:hover .blog-body h3 {
    color: var(--primary);
}

.blog-body p {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.6;
}

.blog-date {
    font-size: 12px;
    color: #999;
    margin-top: 14px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ══════════════════════════════════════
   CTA BANNER
   Pattern overlay, better buttons
   ══════════════════════════════════════ */
.cta-banner {
    text-align: center;
    padding: 72px 32px;
    border-radius: var(--radius-lg);
    margin: 0 24px;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════
   PRIVACY POLICY / LEGAL
   ══════════════════════════════════════ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-content .last-updated {
    font-size: 13px;
    color: #999;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 14px;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink-light);
    margin-bottom: 14px;
}

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

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

/* ══════════════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════════════ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.lang-btn {
    padding: 5px 11px;
    border: 1px solid var(--outline);
    border-radius: 6px;
    background: transparent;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-light);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(255,107,53,0.3);
}

/* ══════════════════════════════════════
   RTL SUPPORT (Arabic)
   ══════════════════════════════════════ */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .navbar-inner { flex-direction: row-reverse; }
[dir="rtl"] .navbar-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-content { flex-direction: row-reverse; }
[dir="rtl"] .hero-text { text-align: right; }
[dir="rtl"] .hero-buttons { justify-content: flex-start; }
[dir="rtl"] .portfolio-showcase { flex-direction: row-reverse; }
[dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .about-content { flex-direction: row-reverse; }
[dir="rtl"] .brutal-card::after { left: auto; right: var(--brutal-offset); }
[dir="rtl"] .brutal-card-accent::after { left: auto; right: var(--brutal-offset); }
[dir="rtl"] .btn::after { left: auto; right: var(--brutal-offset); }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .navbar-cta { margin-left: 0; margin-right: 16px; }
[dir="rtl"] .section-subtitle { text-align: right; }
[dir="rtl"] .portfolio-info { text-align: right; }
[dir="rtl"] .contact-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .section-label::before { display: none; }
[dir="rtl"] .section-label::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}
[dir="rtl"] .footer-col a:hover { transform: translateX(-4px); }
[dir="rtl"] .contact-item:hover { transform: translateX(-4px); }
[dir="rtl"] .service-card { border-left: none; border-right: 3px solid transparent; }
[dir="rtl"] .service-card:hover { border-left-color: transparent; border-right-color: var(--primary); }
[dir="rtl"] .form-group select {
    background-position: left 16px center;
    padding-right: 18px;
    padding-left: 40px;
}

@media (max-width: 768px) {
    [dir="rtl"] .hero-content { flex-direction: column; text-align: center; }
    [dir="rtl"] .hero-text { text-align: center; }
    [dir="rtl"] .portfolio-showcase { flex-direction: column; text-align: center; }
    [dir="rtl"] .portfolio-info { text-align: center; }
    [dir="rtl"] .navbar-inner { flex-direction: row-reverse; }
}

/* ══════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

/* ══════════════════════════════════════
   SMOOTH SCROLL ANIMATION CLASSES
   (For use with Intersection Observer)
   ══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ══════════════════════════════════════
   ACCESSIBILITY & REDUCED MOTION
   ══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Focus visible styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ══════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════ */
@media print {
    .navbar,
    .cta-banner,
    .hero-badge {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        padding-top: 40px;
    }
}
