
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #0ea5e9;
    --sky-blue: #3b82f6;
    --cloud-blue: #60a5fa;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --gradient-start: #2563eb;
    --gradient-end: #0ea5e9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --sky-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1000;
    padding: 18px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), rgba(14, 165, 233, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.navbar:hover::after {
    opacity: 1;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .brand-text {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
}

.nav-brand .brand-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-brand:hover .brand-text::after {
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-contact {
    padding: 8px 20px;
    background: var(--primary-color);
    color: white !important;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 140px 0 160px;
    background: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #dbeafe 60%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(14, 165, 233, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    animation: cloudFloat 25s infinite ease-in-out;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(59, 130, 246, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    animation: cloudFloat 20s infinite ease-in-out reverse;
    filter: blur(60px);
}

@keyframes cloudFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    33% { 
        transform: translate(40px, -40px) scale(1.1);
        opacity: 1;
    }
    66% { 
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.7;
    }
}

/* Cloud pattern decoration */
.hero-content::before {
    content: '☁️';
    position: absolute;
    font-size: 120px;
    opacity: 0.03;
    top: -40px;
    left: -20px;
    animation: drift 30s infinite linear;
    pointer-events: none;
}

.hero-content::after {
    content: '☁️';
    position: absolute;
    font-size: 150px;
    opacity: 0.03;
    bottom: -60px;
    right: -30px;
    animation: drift 35s infinite linear reverse;
    pointer-events: none;
}

@keyframes drift {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(30px) translateY(-20px); }
    100% { transform: translateX(0) translateY(0); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out;
    letter-spacing: -0.03em;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.2s both;
    max-width: 600px;
}

.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-slogan {
    margin: 24px 0 32px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.slogan-text {
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.slogan-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
    border-radius: 2px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Terminal */
.code-terminal {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(37, 99, 235, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.25);
    position: relative;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.4s;
}

.code-terminal:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-4px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.code-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9, #2563eb);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.terminal-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #64748b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.terminal-dot:hover {
    transform: scale(1.1);
}

.terminal-dot:nth-child(1) { 
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
.terminal-dot:nth-child(2) { 
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}
.terminal-dot:nth-child(3) { 
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.terminal-title {
    margin-left: auto;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.terminal-body {
    padding: 24px 28px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
    background: #0f172a;
    max-height: none;
    overflow: visible;
}

.terminal-story {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.story-section {
    position: relative;
    padding-bottom: 12px;
}

.story-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.comment-text {
    color: #64748b;
    font-style: italic;
    font-size: 11px;
}

.output.warning {
    color: #fbbf24;
}

.output.warning::before {
    content: '';
}

.success-icon {
    color: #34d399;
    font-weight: 600;
}


.terminal-line {
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: fadeInUp 0.3s ease-out;
    animation-fill-mode: both;
}

.terminal-line.comment {
    margin-bottom: 6px;
}

.terminal-line:nth-child(1) { animation-delay: 0.1s; }
.terminal-line:nth-child(2) { animation-delay: 0.2s; }
.terminal-line:nth-child(3) { animation-delay: 0.3s; }
.terminal-line:nth-child(4) { animation-delay: 0.4s; }
.terminal-line:nth-child(5) { animation-delay: 0.5s; }
.terminal-line:nth-child(6) { animation-delay: 0.6s; }
.terminal-line:nth-child(7) { animation-delay: 0.7s; }
.terminal-line:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prompt {
    color: #22d3ee;
    font-weight: 600;
    white-space: nowrap;
}

.path {
    color: #818cf8;
    font-weight: 500;
}

.prompt-symbol {
    color: #34d399;
    font-weight: bold;
    margin-right: 8px;
}

.command {
    color: #f1f5f9;
    font-weight: 500;
}

.output {
    margin-left: 0;
    color: #94a3b8;
    font-style: italic;
}

.output.info {
    color: #60a5fa;
}

.output.success {
    color: #34d399;
    font-weight: 600;
}

.output.success::before {
    content: '✓ ';
    color: #34d399;
    font-weight: bold;
}

.blink {
    animation: blink 1s infinite;
    color: #60a5fa;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Sections */
section {
    padding: 140px 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
}

section:nth-child(even) {
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.4) 50%, transparent 100%);
}

section:nth-child(odd):not(.hero) {
    background: 
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.02) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), var(--primary-color), transparent);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: titleUnderline 3s infinite;
}

@keyframes titleUnderline {
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* Services */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: 40px 32px;
    border-radius: 24px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.4s;
    animation: shimmer 3s infinite;
}

.service-card:hover::before {
    transform: scaleX(1);
}

@keyframes shimmer {
    0% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
    background: white;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Additional Services */
.additional-services {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px dashed var(--border-color);
}

.additional-services-header {
    text-align: center;
    margin-bottom: 32px;
}

.additional-services-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.additional-grid {
    max-width: 600px;
    margin: 0 auto;
}

.additional-card {
    opacity: 0.95;
    border-style: dashed;
    background: var(--bg-light);
}

.additional-card:hover {
    opacity: 1;
    background: white;
    border-style: solid;
}

/* Hero subtitle emphasis */
.hero-subtitle em {
    color: var(--text-light);
    font-style: italic;
    font-size: 18px;
}

/* About */
.about {
    background: var(--bg-light);
}

.about-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-note {
    font-size: 16px;
    font-style: italic;
    opacity: 0.9;
}

.about-slogan {
    margin: 40px 0;
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.about-slogan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.slogan-quote {
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin: 0;
    position: relative;
    z-index: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Portfolio */
.portfolio {
    background: var(--bg-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.portfolio-card {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.portfolio-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, -30px);
    transition: transform 0.4s;
}

.portfolio-card:hover::after {
    transform: translate(0, 0) scale(1.5);
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
    background: white;
}

.portfolio-category {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.portfolio-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.portfolio-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.portfolio-results {
    display: flex;
    gap: 24px;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.result-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.result-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    line-height: 1;
}

.result-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Testimonials */
.testimonials {
    background: var(--bg-white);
    padding: 140px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:nth-child(4),
    .testimonials-grid .testimonial-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: linear-gradient(135deg, white 0%, rgba(248, 250, 252, 0.5) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
    background: white;
}

.testimonial-quote {
    color: rgba(37, 99, 235, 0.2);
    margin-bottom: 20px;
    transition: color 0.3s;
}

.testimonial-card:hover .testimonial-quote {
    color: rgba(37, 99, 235, 0.4);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 24px;
    margin-top: 0;
}

.testimonial-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial-author {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding-top: 20px;
    margin-top: 0;
    margin-bottom: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.author-role {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Customers Carousel */
.customers {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, rgba(240, 249, 255, 0.5) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.customers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 50%, rgba(37, 99, 235, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(14, 165, 233, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
    padding: 40px 0;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.95) 0%, transparent 100%);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, rgba(248, 250, 252, 0.95) 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 60px;
    animation: scroll 20s linear infinite;
    will-change: transform;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover for better UX */
.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-item {
    flex-shrink: 0;
    width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-logo {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.customer-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.customer-logo img[alt="Dualbird"],
.customer-logo img[alt="Psychopedia"],
.customer-logo img[alt="Magos Digital"] {
    max-width: 130%;
    max-height: 130%;
    transform: scale(1.3);
}

.customer-logo img[alt="Kima Finance"] {
    max-width: 80%;
    max-height: 80%;
    transform: scale(0.8);
}

.customer-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.customer-logo:hover::before {
    transform: scaleX(1);
}

.customer-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* If you want to use actual logo images instead of text:
.customer-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.customer-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
*/

/* Team */
.founder {
    padding: 100px 0;
    background: var(--bg-white);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.founder-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s;
}

.founder-content:hover .founder-image img {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.3);
    border-color: var(--secondary-color);
}

.founder-info {
    position: relative;
}

.founder-name {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-role {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 24px;
}

.founder-bio {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.founder-social {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.founder-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary-color);
    transition: all 0.3s;
}

.founder-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.founder-social a svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 968px) {
    .founder-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .founder-image {
        display: flex;
        justify-content: center;
    }
    
    .founder-social {
        justify-content: center;
    }
}

.team-note {
    text-align: center;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 40px;
}

/* Contact */
.contact {
    background: var(--bg-light);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    color: var(--text-light);
}

.contact-method strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand .brand-text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 14px;
}

.footer-slogan {
    color: rgba(59, 130, 246, 0.8) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-style: italic;
    margin-top: 8px;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        max-width: 100%;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100%;
    }
    
    .code-terminal {
        width: 100%;
        max-width: 100%;
        transform: perspective(1000px) rotateX(0deg);
    }
    
    .terminal-body {
        padding: 20px 16px;
        font-size: 11px;
    }
    
    .terminal-header {
        padding: 12px 16px;
    }
    
    .terminal-title {
        font-size: 11px;
    }
    
    .comment-text {
        font-size: 10px;
    }
    
    .slogan-text {
        font-size: 24px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 32px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
        gap: 16px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero .container {
        gap: 32px;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
        word-wrap: break-word;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .code-terminal {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
        overflow: hidden;
    }
    
    .terminal-body {
        padding: 16px 12px;
        font-size: 10px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .terminal-line {
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex-wrap: wrap;
    }
    
    .terminal-header {
        padding: 10px 14px;
    }
    
    .terminal-dot {
        width: 12px;
        height: 12px;
    }
    
    .terminal-title {
        font-size: 10px;
    }
    
    .terminal-story {
        gap: 12px;
    }
    
    .story-section {
        padding-bottom: 10px;
    }
    
    .comment-text {
        font-size: 9px;
    }
    
    .slogan-text {
        font-size: 22px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Carousel mobile adjustments */
    .carousel-wrapper {
        padding: 20px 0;
        margin-top: 40px;
    }
    
    .carousel-wrapper::before,
    .carousel-wrapper::after {
        width: 60px;
    }
    
    .carousel-track {
        gap: 30px;
        animation: scroll 15s linear infinite;
    }
    
    .carousel-item {
        width: 180px;
        height: 90px;
    }
    
    .customer-logo {
        padding: 12px;
        border-radius: 12px;
    }
    
    .customer-logo img[alt="Dualbird"],
    .customer-logo img[alt="Psychopedia"],
    .customer-logo img[alt="Magos Digital"] {
        transform: scale(1.1);
    }
    
    .customer-logo img[alt="Kima Finance"] {
        transform: scale(0.7);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 80px 0 60px;
        margin-top: 60px;
    }
    
    .hero .container {
        gap: 24px;
    }
    
    .hero-content {
        width: 100%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .code-terminal {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .terminal-body {
        padding: 14px 10px;
        font-size: 9px;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .terminal-line {
        margin-bottom: 3px;
        gap: 6px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex-wrap: wrap;
    }
    
    .terminal-header {
        padding: 8px 12px;
    }
    
    .terminal-dot {
        width: 10px;
        height: 10px;
    }
    
    .terminal-title {
        font-size: 9px;
    }
    
    .terminal-story {
        gap: 10px;
    }
    
    .story-section {
        padding-bottom: 8px;
    }
    
    .comment-text {
        font-size: 8px;
    }
    
    .slogan-text {
        font-size: 18px;
        margin: 20px 0 24px;
    }
    
    .hero-cta {
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 15px;
    }
    
    /* Carousel small mobile adjustments */
    .carousel-wrapper {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .carousel-wrapper::before,
    .carousel-wrapper::after {
        width: 40px;
    }
    
    .carousel-track {
        gap: 20px;
        animation: scroll 12s linear infinite;
    }
    
    .carousel-item {
        width: 150px;
        height: 75px;
    }
    
    .customer-logo {
        padding: 10px;
        border-radius: 10px;
    }
}

