/* =====================
   Global Styles & Reset - RED THEME
   ===================== */

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

:root {
    /* Primary Colors - Pure Red matching logo */
    --primary-red: #e53935;
    --primary-dark: #b71c1c;
    --primary-light: #ef5350;

    /* Accent Colors - All red tones */
    --accent-red: #f44336;
    --accent-red-light: #e57373;
    --accent-dark: #1d3557;

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

    /* Gradients - Red only, no orange */
    --gradient-primary: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    --gradient-accent: linear-gradient(135deg, #ef5350 0%, #e53935 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* =====================
   Navigation
   ===================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-900);
}

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

.logo-img {
    height: 36px !important;
    width: auto !important;
    max-height: 36px !important;
    object-fit: contain;
    display: block;
}

.footer-logo {
    height: 32px !important;
    max-height: 32px !important;
    margin-bottom: 15px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-700);
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
}

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

.btn-primary-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-800);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* =====================
   Hero Section
   ===================== */

.hero {
    padding: 150px 0 100px;
    background: linear-gradient(180deg, rgba(229, 57, 53, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-900);
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: rgba(229, 57, 53, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-red);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.hero-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Code Editor Mockup */
.code-mockup {
    width: 440px;
    background: #1e1e2e;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.code-header {
    background: #181825;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dots .dot.red {
    background: #ff5f57;
}

.code-dots .dot.yellow {
    background: #febc2e;
}

.code-dots .dot.green {
    background: #28c840;
}

.code-filename {
    color: #6c7086;
    font-size: 12px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-content {
    padding: 20px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.code-line {
    display: flex;
    align-items: center;
}

.line-number {
    width: 30px;
    color: #45475a;
    text-align: right;
    margin-right: 16px;
    user-select: none;
}

.code-indent {
    display: inline-block;
    width: 20px;
}

.code-keyword {
    color: #cba6f7;
}

.code-class {
    color: #f9e2af;
}

.code-string {
    color: #a6e3a1;
}

.code-function {
    color: #89b4fa;
}

.code-type {
    color: #fab387;
}

.code-line:not(:has(.code-keyword)):not(:has(.code-string)):not(:has(.code-function)) {
    color: #cdd6f4;
}

/* Floating Code Snippets */
.code-snippet {
    position: absolute;
    background: #1e1e2e;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    z-index: 3;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
}

.code-snippet code {
    color: #cdd6f4;
}

.snip-keyword {
    color: #cba6f7;
}

.snip-function {
    color: #89b4fa;
}

.snip-tag {
    color: #f38ba8;
}

.snippet-1 {
    top: 30px;
    right: -20px;
    animation-delay: 0s;
}

.snippet-2 {
    top: 180px;
    left: -30px;
    animation-delay: 2s;
}

.snippet-3 {
    bottom: 60px;
    right: 10px;
    animation-delay: 4s;
}

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

/* Background decoration */
.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-visual::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* =====================
   Section Styles
   ===================== */

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

.section-tag {
    display: inline-block;
    background: rgba(229, 57, 53, 0.1);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* =====================
   Expertise Section
   ===================== */

.expertise {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    z-index: 10;
}

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

.expertise-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all var(--transition-normal);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.expertise-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.expertise-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 12px;
}

.expertise-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.expertise-features {
    list-style: none;
}

.expertise-features li {
    padding: 8px 0;
    color: var(--dark-700);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-features li::before {
    content: "✓";
    color: var(--primary-red);
    font-weight: 700;
}

/* =====================
   Services Section
   ===================== */

.services {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    position: relative;
    z-index: 10;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-large {
    grid-column: span 2;
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.service-large h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 16px;
}

.service-large p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.service-large ul {
    list-style: none;
}

.service-large li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--dark-700);
}

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

.service-large li strong {
    color: var(--primary-red);
}

.service-small {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.service-small:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.service-small h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 10px;
}

.service-small p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

/* =====================
   Portfolio Section
   ===================== */

.portfolio {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    z-index: 10;
}

.portfolio-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.portfolio-mockup {
    display: flex;
    justify-content: center;
}

.mockup-phone {
    width: 280px;
    height: 560px;
    background: var(--dark-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-2xl);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    padding: 20px;
}

.app-header {
    text-align: center;
    font-weight: 700;
    color: var(--dark-900);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.app-balance {
    text-align: center;
    padding: 30px 0;
}

.balance-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.balance-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-900);
}

.app-assets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.asset-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--gray-100);
    border-radius: 12px;
}

.asset-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    margin-right: 12px;
}

.asset-name {
    flex: 1;
    font-weight: 600;
    color: var(--dark-800);
}

.asset-value {
    font-size: 14px;
    color: var(--gray-600);
}

.portfolio-details h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 16px;
}

.portfolio-description {
    color: var(--gray-600);
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.portfolio-features h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 16px;
}

.portfolio-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.portfolio-features li {
    padding: 10px 0;
    color: var(--dark-700);
    line-height: 1.6;
}

.portfolio-features li strong {
    color: var(--primary-red);
}

.portfolio-tech h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tech-tag {
    background: var(--gray-100);
    color: var(--dark-700);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.portfolio-stats {
    display: flex;
    gap: 40px;
}

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

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-red);
}

/* =====================
   Technology Section
   ===================== */

.technology {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    position: relative;
    z-index: 10;
}

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

.tech-category {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.tech-category h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-red);
}

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

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.tech-item:hover {
    background: rgba(229, 57, 53, 0.05);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tech-icon {
    font-size: 24px;
}

.tech-name {
    font-weight: 600;
    color: var(--dark-800);
    font-size: 14px;
}

/* =====================
   Contact Section
   ===================== */

.contact {
    padding: var(--section-padding);
    background: var(--dark-900);
    color: var(--white);
    position: relative;
    z-index: 10;
}

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

.contact-info h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray-400);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-features {
    margin-bottom: 40px;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.feature-text span {
    color: var(--gray-400);
    font-size: 14px;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-icon {
    font-size: 24px;
}

.method-label {
    font-size: 14px;
    color: var(--gray-400);
}

.method-value {
    font-weight: 600;
    color: var(--white);
}

.contact-form-container {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-800);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

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

/* =====================
   Footer
   ===================== */

.footer {
    background: var(--dark-800);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--dark-700);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
}

/* =====================
   Services Section (Generic Dev)
   ===================== */

.services-section {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    z-index: 10;
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 35px 30px;
    transition: all var(--transition-normal);
}

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

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-red) 0%, #c62828 100%);
    border: none;
    color: var(--white);
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.featured .service-features li::before {
    color: var(--white);
}

.service-card .service-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.service-icon-img {
    margin-bottom: 20px;
}

.service-icon-img img {
    width: 56px;
    height: 56px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 6px 0;
    color: var(--dark-700);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: "✓";
    color: var(--primary-red);
    font-weight: 700;
}

/* =====================
   Expertise Section (Tech Stack)
   ===================== */

.expertise-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    position: relative;
    z-index: 10;
}

.expertise-section .tech-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.expertise-section .tech-category {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.expertise-section .tech-category h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-red);
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-list .tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-700);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.tech-list .tech-item:hover {
    background: rgba(229, 57, 53, 0.05);
    border-color: var(--primary-red);
}

.tech-item-icon {
    font-size: 16px;
}

/* =====================
   Who It's For Section
   ===================== */

.who-section {
    padding: var(--section-padding);
    background: #f8fafc;
    position: relative;
    z-index: 10;
}

.who-section .section-header {
    margin-bottom: 50px;
}

.who-section .section-subtitle {
    max-width: 600px;
}

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

.who-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 30px;
    border: 1px solid #e2e8f0;
    transition: all var(--transition-normal);
}

.who-card:hover {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.who-icon-wrapper {
    margin-bottom: 24px;
}

.who-icon-wrapper svg {
    width: 52px;
    height: 52px;
}

.who-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

.who-card > p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.who-features {
    list-style: none;
}

.who-features li {
    padding: 5px 0;
    color: var(--dark-800);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.who-features li::before {
    content: "✓";
    color: var(--primary-red);
    font-weight: 600;
    flex-shrink: 0;
}

/* Who Section Responsive */
@media (max-width: 1024px) {
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

/* =====================
   Work Section (Portfolio)
   ===================== */

.work-section {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    z-index: 10;
}

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

.work-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

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

.work-image {
    height: 180px;
    overflow: hidden;
}

.work-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.work-placeholder.fintech {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.work-placeholder.ecommerce {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.work-placeholder.healthcare {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.work-content {
    padding: 24px;
}

.work-category {
    display: inline-block;
    background: rgba(229, 57, 53, 0.1);
    color: var(--primary-red);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.work-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 10px;
}

.work-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.work-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-tech span {
    background: var(--gray-100);
    color: var(--dark-700);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

/* =====================
   Process Section (Timeline)
   ===================== */

.process-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    position: relative;
    z-index: 10;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--gray-300);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.step-content li {
    padding: 4px 0;
    color: var(--dark-700);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-content li::before {
    content: "•";
    color: var(--primary-red);
    font-weight: 700;
}

/* =====================
   Why Section
   ===================== */

.why-section {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    z-index: 10;
}

.why-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-900);
    margin-bottom: 16px;
}

.why-text > p {
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.why-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.why-detail strong {
    display: block;
    font-size: 16px;
    color: var(--dark-900);
    margin-bottom: 4px;
}

.why-detail span {
    color: var(--gray-600);
    font-size: 14px;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--gray-600);
}

/* =====================
   Responsive - Generic Dev
   ===================== */

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

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

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

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

    .process-step::after {
        display: none;
    }

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

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

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

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

    .process-timeline {
        grid-template-columns: 1fr;
    }

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

/* =====================
   Responsive Design
   ===================== */

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

    .hero-title {
        font-size: 44px;
    }

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

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

    .hero-visual {
        display: none;
    }

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

    .portfolio-showcase {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }

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

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

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

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

    .service-large {
        grid-column: span 1;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .portfolio-stats {
        flex-direction: column;
        gap: 20px;
    }
}
