/* ============================================
   Softappix Portfolio Website - Styles
   ============================================ */

/* CSS Variables - Kinetic Ether Design System */
:root {
    /* Brand Colors */
    --primary-color: #3b82f6; /* High-energy blue */
    --secondary-color: #0f172a;
    --accent-color: #3b82f6;
    --primary-light: #adc6ff;
    
    /* Backgrounds & Surfaces */
    --bg-primary: #ffffff;
    --bg-surface: #f8fafc;
    --bg-surface-alt: #f1f5f9;
    --dark-card: #ffffff; /* Override old dark vars temporarily */
    --dark-bg: #ffffff;
    --dark-border: #e2e8f0;
    --border-light: #e2e8f0;
    
    /* Typography Colors */
    --text-primary: #0f172a; /* Deep slate */
    --text-secondary: #64748b; /* Slate-gray */
    --text-muted: #94a3b8;
    
    /* Other Utilities */
    --success: #10b981;
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #2170e4 100%);
    --gradient-dark: var(--bg-surface); /* Make old gradient-dark a flat light surface */
    
    /* Shadows - Ambient & Tonal */
    --shadow-raised: 0px 4px 20px rgba(15, 23, 42, 0.05);
    --shadow-overlay: 0px 20px 40px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0px 20px 40px rgba(15, 23, 42, 0.1);
    --shadow-md: 0px 4px 20px rgba(15, 23, 42, 0.05);
    
    /* Typography & Spacing */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-base: 8px;
    --spacing-gutter: 24px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-gutter);
}

/* Typography Utility Classes */
.headline-xl { font-family: var(--font-family); font-size: 64px; font-weight: 700; line-height: 72px; letter-spacing: -0.02em; }
.headline-lg { font-family: var(--font-family); font-size: 48px; font-weight: 700; line-height: 56px; letter-spacing: -0.02em; }
.headline-md { font-family: var(--font-family); font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: -0.01em; }
.body-lg { font-family: var(--font-family); font-size: 18px; font-weight: 400; line-height: 28px; }
.body-md { font-family: var(--font-family); font-size: 16px; font-weight: 400; line-height: 24px; }
.label-md { font-family: var(--font-family); font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-color);
    padding: 10px 24px;
    border-radius: var(--radius-base);
    color: white !important;
    font-weight: 600;
}

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

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-raised);
    background: #2170e4;
}

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

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

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px var(--spacing-gutter) 120px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-headline {
    letter-spacing: -0.02em;
    font-weight: 700;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-headline .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: var(--radius-base);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-raised);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-overlay);
    background: #2170e4;
}

.btn-secondary {
    background: var(--bg-surface-alt);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--border-light);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual - Code Window */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.code-window {
    background: #0f172a; /* Deep Slate from Neutral Hierarchy */
    color: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-overlay);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
}

.window-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-content {
    padding: 24px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.code-keyword { color: #c792ea; }
.code-variable { color: #82aaff; }
.code-property { color: #ffcb6b; }
.code-string { color: #c3e88d; }

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    letter-spacing: -0.02em;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--gradient-dark);
}

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

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 32px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-overlay);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

/* ============================================
   Our Clients Section
   ============================================ */
.our-clients {
    padding: 120px 0;
}

.clients-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.client-logo {
    padding: 32px 48px;
    background: var(--bg-surface-alt);
    border-radius: var(--radius-base);
    border: 1px solid var(--border-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    box-shadow: var(--shadow-raised);
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-overlay);
    border-color: var(--primary-light);
}

.client-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 12px;
    opacity: 0.8;
    transition: var(--transition);
}

.client-logo:hover .client-img {
    opacity: 1;
    transform: scale(1.05);
}

.client-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.client-suffix {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ============================================
   Case Studies Section
   ============================================ */
.case-studies {
    padding: 120px 0;
}

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

.case-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    overflow: hidden;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-raised);
    border-color: var(--primary-color);
}

.case-header {
    padding: 28px 28px 0;
}

.case-tag {
    display: inline-block;
    background: var(--bg-surface-alt);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.case-hook {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.case-company {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.case-body {
    padding: 24px 28px;
}

.case-section {
    margin-bottom: 20px;
}

.case-section:last-child {
    margin-bottom: 0;
}

.case-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.case-section-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tech-tag {
    background: var(--bg-surface-alt);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ============================================
   Tech Stack Section
   ============================================ */
.tech-stack {
    padding: 120px 0;
    background: var(--gradient-dark);
}

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

.tech-category {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 32px;
}

.tech-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-surface-alt);
    border-radius: 10px;
    transition: var(--transition);
}

.tech-item:hover {
    background: var(--bg-surface-alt);
    transform: translateX(4px);
}

.tech-icon {
    font-size: 1.5rem;
}

.tech-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 120px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-description strong {
    color: var(--text-primary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-raised);
    border: 1px solid var(--border-light);
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-overlay);
    border-color: var(--primary-color);
}

/* ============================================
   Local Roots Section
   ============================================ */
.local-roots {
    padding: 120px 0;
    background: var(--gradient-dark);
}

.local-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.local-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

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

.local-card:first-child:hover {
    border-color: var(--secondary-color);
}

.local-card:last-child:hover {
    border-color: var(--accent-color);
}

.local-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.local-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.local-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.local-highlights {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.local-highlights li {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-left: 24px;
    position: relative;
}

.local-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.local-divider {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 120px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.contact-icon {
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 40px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 24px;
}

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

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

.footer-tagline {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-column a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

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

.hero-visual .code-window {
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

    .hero-visual {
        display: none;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .local-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-surface-alt);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border-light);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 16px;
        text-align: center;
    }

    .nav-cta {
        margin: 16px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-headline {
    letter-spacing: -0.02em;
    font-weight: 700;
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .section-title {
    letter-spacing: -0.02em;
        font-size: 2rem;
    }

    .story-text h2 {
        font-size: 2rem;
    }

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

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

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

    .tech-items {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .hero-headline {
    letter-spacing: -0.02em;
    font-weight: 700;
        font-size: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 16px;
    }

    .btn {
        width: 100%;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .services,
    .case-studies,
    .tech-stack,
    .about,
    .local-roots,
    .story-section,
    .process-section,
    .why-us,
    .contact {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

/* ============================================
   Active Nav Link (inner pages)
   ============================================ */
.nav-links a.active-page {
    color: var(--text-primary);
}
.nav-links a.active-page::after {
    width: 100%;
}

/* ============================================
   Page Hero (inner pages)
   ============================================ */
.page-hero {
    padding: 160px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface-alt);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-surface);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.page-hero .hero-ctas {
    justify-content: center;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
    animation: fadeInUp 0.5s ease-out;
}

.breadcrumb a {
    color: var(--primary-light);
    transition: var(--transition);
}

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

.breadcrumb-sep {
    color: var(--text-muted);
}

/* ============================================
   Stats Banner
   ============================================ */
.stats-banner {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 48px 0;
}

.stats-banner .container {
    display: flex;
    justify-content: space-around;
    gap: 32px;
    flex-wrap: wrap;
}

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

.stat-item .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-item .stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 6px;
}

/* ============================================
   Process Steps
   ============================================ */
.process-section {
    padding: 120px 0;
    background: var(--gradient-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 31px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
}

.process-step:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
}

.process-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   Why Us / Value Props
   ============================================ */
.why-us {
    padding: 120px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

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

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-overlay);
}

.why-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    padding: 80px 0;
    background: var(--gradient-dark);
}

.cta-banner-inner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(244, 114, 182, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-base);
    padding: 64px 40px;
    text-align: center;
}

.cta-banner-inner .section-tag {
    margin-bottom: 20px;
}

.cta-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-banner p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .hero-ctas {
    justify-content: center;
}

/* ============================================
   Filter Buttons
   ============================================ */
.filter-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    font-family: var(--font-family);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ============================================
   Story Section (About)
   ============================================ */
.story-section {
    padding: 120px 0;
}

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

.story-text .section-tag {
    margin-bottom: 16px;
    display: inline-block;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.story-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-text p strong {
    color: var(--text-primary);
}

.story-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.story-stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.story-stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-overlay);
}

.story-stat-card .number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.story-stat-card .label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   Values Section (About)
   ============================================ */
.values-section {
    padding: 120px 0;
    background: var(--gradient-dark);
}

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

.value-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 36px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-overlay);
}

.value-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   Founder / Team Section (About)
   ============================================ */
.team-section {
    padding: 120px 0;
}

.founder-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 52px;
    transition: var(--transition);
}

.founder-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-raised);
}

.founder-avatar {
    border-radius: var(--radius-base);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg-surface-alt);
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.founder-avatar:hover img {
    transform: scale(1.05);
}

.founder-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.founder-role {
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.founder-bio {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.founder-tag {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-light);
    color: var(--primary-light);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ============================================
   Tech Detail Stack (Tech Stack Page)
   ============================================ */
.tech-section-block {
    margin-bottom: 60px;
}

.tech-section-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.tech-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.tech-detail-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

.tech-detail-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-overlay);
    background: rgba(99, 102, 241, 0.05);
}

.tech-detail-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: block;
}

.tech-detail-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tech-detail-level {
    font-size: 0.72rem;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.12);
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 500;
}

/* ============================================
   Services Detail Page (Expanded Cards)
   ============================================ */
.services-detail {
    padding: 80px 0 60px;
}
/* ============================================
   Responsive — Inner Pages
   ============================================ */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-avatar {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .founder-tags {
        justify-content: center;
    }

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

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

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

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .service-card-right {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

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

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

    .page-hero {
        padding: 120px 20px 60px;
    }

    .story-visual {
        grid-template-columns: 1fr 1fr;
    }

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

    .cta-banner h2 {
        font-size: 1.75rem;
    }

    .cta-banner-inner {
        padding: 40px 24px;
    }

    .stats-banner .container {
        gap: 24px;
    }

    .case-card-full-header {
        padding: 28px 24px;
    }

    .case-card-full > div:last-child {
        padding: 28px 24px !important;
    }

    .case-card-full > div:last-child > div[style*="grid-template-columns:1fr 1fr 1fr"],
    .case-card-full > div:last-child > div[style*="grid-template-columns:repeat(4"] {
        grid-template-columns: 1fr !important;
    }

    .founder-card {
        padding: 36px 24px;
    }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}
