/* ========================================
   FLEX SOFT SOLUTIONS - MAIN STYLES
   ======================================== */

/* CSS Variables */
:root {
    --primary: #0099FF;
    --primary-dark: #0077CC;
    --accent: #00D4AA;
    --dark: #0A0F1C;
    --dark-lighter: #131B2E;
    --dark-card: #1A2235;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --text-muted: #6B7A90;
    --gradient: linear-gradient(135deg, #00D4AA 0%, #0099FF 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(0,212,170,0.1) 0%, rgba(0,153,255,0.1) 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(0,153,255,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
}

.logo-icon .bar {
    transition: var(--transition);
}

.logo:hover .bar-1 {
    transform: translateX(4px);
}

.logo:hover .bar-2 {
    transform: translateX(2px);
}

.logo:hover .dot {
    transform: scale(1.1);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--gradient);
    border-radius: 50%;
}

.nav-btn {
    padding: 12px 24px;
    background: var(--gradient);
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    margin-left: 16px;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: -100px;
    left: -200px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(0,212,170,0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0,153,255,0.1);
}

.btn-light {
    background: var(--text-primary);
    color: var(--dark);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

.code-window {
    background: var(--dark-lighter);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.window-dot.red { background: #FF5F57; }
.window-dot.yellow { background: #FEBC2E; }
.window-dot.green { background: #28C840; }

.window-title {
    margin-left: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.window-content {
    padding: 24px;
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.window-content pre {
    margin: 0;
}

.code-keyword { color: #C678DD; }
.code-var { color: #E06C75; }
.code-prop { color: #61AFEF; }
.code-string { color: #98C379; }

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

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

/* ========================================
   SERVICES PREVIEW
   ======================================== */
.services-preview {
    padding: 120px 24px;
    background: linear-gradient(180deg, transparent 0%, var(--dark-lighter) 100%);
}

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

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(0,212,170,0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

.service-card {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,153,255,0.2);
    box-shadow: var(--shadow-lg);
}

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

.service-card.featured {
    background: linear-gradient(135deg, rgba(0,212,170,0.1) 0%, rgba(0,153,255,0.1) 100%);
    border-color: rgba(0,212,170,0.3);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: var(--gradient);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.service-link svg {
    transition: var(--transition);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us {
    padding: 120px 24px;
}

.why-us .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.why-us-content .section-tag {
    text-align: left;
}

.why-us-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.section-text {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.feature-content h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

.why-us-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.visual-number {
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.visual-label {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(10, 15, 28, 0.7);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-lighter);
    padding: 80px 24px 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.footer-contact svg {
    stroke: var(--accent);
    min-width: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ========================================
   PAGE HEADER (For inner pages)
   ======================================== */
.page-header {
    padding: 160px 24px 80px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--dark-lighter) 0%, var(--dark) 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVICES PAGE STYLES
   ======================================== */
.services-full {
    padding: 80px 24px 120px;
}

.services-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-full-card {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.service-full-card:hover {
    border-color: rgba(0,153,255,0.2);
    box-shadow: var(--shadow-lg);
}

.service-full-card .service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 28px;
}

.service-full-card .service-icon svg {
    width: 40px;
    height: 40px;
}

.service-full-card h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-full-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.service-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */
.about-intro {
    padding: 80px 24px 120px;
}

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

.about-text h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-stat {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.about-stat:nth-child(2) {
    transform: translateY(24px);
}

.about-stat:nth-child(3) {
    transform: translateY(-24px);
}

.about-stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.about-stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.values-section {
    padding: 80px 24px 120px;
    background: var(--dark-lighter);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--accent);
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-section {
    padding: 80px 24px 120px;
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.contact-item h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--dark-lighter);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,153,255,0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 18px 28px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .hero {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid .service-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark-lighter);
        flex-direction: column;
        padding: 100px 40px 40px;
        transition: var(--transition);
        gap: 16px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 14px 0;
        width: 100%;
    }
    
    .nav-btn {
        margin: 16px 0 0;
        text-align: center;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-description {
        margin: 0 auto 36px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .why-us .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .why-us-content {
        text-align: center;
    }
    
    .why-us-content .section-tag,
    .why-us-content .section-title {
        text-align: center;
    }
    
    .why-us-visual {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .services-full-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-section .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    /* Process grid responsive */
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Mission vision responsive */
    .mission-vision > .container > div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid .service-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    
    .features-list {
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-desc {
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .about-stat:nth-child(2),
    .about-stat:nth-child(3) {
        transform: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Process grid mobile */
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    /* Mission vision mobile */
    .mission-vision > .container > div {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    /* Tech stack mobile */
    .tech-section > .container > div:last-child {
        grid-template-columns: 1fr !important;
    }
    
    /* FAQ mobile */
    .faq-section > .container > div:last-child {
        gap: 16px !important;
    }
    
    /* About visual mobile */
    .about-visual {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .about-stat {
        padding: 24px 16px;
    }
    
    .about-stat-number {
        font-size: 36px;
    }
    
    /* Page header mobile */
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
        padding: 0 16px;
    }
    
    /* Contact info mobile */
    .contact-info h2 {
        font-size: 26px;
    }
    
    .contact-details {
        gap: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .contact-item-icon {
        margin: 0 auto;
    }
    
    /* Service full card mobile */
    .service-full-card {
        padding: 32px 24px;
    }
    
    .service-full-card h3 {
        font-size: 22px;
    }
    
    /* About text mobile */
    .about-text h2 {
        font-size: 28px;
        text-align: center;
    }
    
    .about-text p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 16px 60px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .code-window {
        display: none;
    }
    
    .service-card,
    .service-full-card {
        padding: 32px 24px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .page-header {
        padding: 120px 16px 60px;
    }
    
    /* Page header smaller screens */
    .page-header h1 {
        font-size: 26px;
        line-height: 1.2;
    }
    
    .page-header p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    /* Services full mobile small */
    .services-full {
        padding: 40px 16px 80px;
    }
    
    .service-full-card {
        padding: 24px 20px;
    }
    
    .service-full-card h3 {
        font-size: 20px;
    }
    
    .service-full-card p {
        font-size: 15px;
    }
    
    .service-features li {
        font-size: 14px;
    }
    
    /* About section small */
    .about-intro {
        padding: 40px 16px 80px;
    }
    
    .about-text h2 {
        font-size: 24px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .about-visual {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    
    .about-stat {
        padding: 24px;
    }
    
    .about-stat-number {
        font-size: 40px;
    }
    
    /* Values section small */
    .values-section {
        padding: 60px 16px 80px;
    }
    
    .value-card {
        padding: 24px 16px;
    }
    
    .value-card h3 {
        font-size: 18px;
    }
    
    .value-card p {
        font-size: 14px;
    }
    
    /* Mission vision small */
    .mission-vision {
        padding: 60px 16px 80px !important;
    }
    
    .mission-card,
    .vision-card {
        padding: 32px 24px !important;
    }
    
    .mission-card h3,
    .vision-card h3 {
        font-size: 22px !important;
    }
    
    .mission-card p,
    .vision-card p {
        font-size: 15px !important;
    }
    
    /* Tech section small */
    .tech-section {
        padding: 60px 16px 80px !important;
    }
    
    .tech-section > .container > div:last-child > div {
        padding: 24px 20px !important;
    }
    
    /* Process section small */
    .process-section {
        padding: 60px 16px 80px !important;
    }
    
    .step-number {
        width: 64px !important;
        height: 64px !important;
        font-size: 26px !important;
    }
    
    .process-step h4 {
        font-size: 18px !important;
    }
    
    .process-step p {
        font-size: 14px !important;
    }
    
    /* Contact section small */
    .contact-section {
        padding: 40px 16px 80px;
    }
    
    .contact-info h2 {
        font-size: 24px;
        text-align: center;
    }
    
    .contact-info > p {
        font-size: 15px;
        text-align: center;
    }
    
    .contact-form {
        padding: 24px 20px;
    }
    
    .contact-form h3 {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    /* FAQ section small */
    .faq-section {
        padding: 60px 16px 80px !important;
    }
    
    .faq-section > .container > div:last-child > div {
        padding: 20px !important;
    }
    
    .faq-section h4 {
        font-size: 16px !important;
    }
    
    .faq-section p {
        font-size: 14px !important;
    }
    
    /* CTA section small */
    .cta {
        padding: 60px 16px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 15px;
    }
    
    /* Footer small */
    .footer {
        padding: 60px 16px 24px;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 15px;
    }
}
