/* ============================================
   Flutter Studio - Modern Portfolio Website
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #0170B9;
    --primary-dark: #015a94;
    --secondary: #0D1B2A;
    --accent: #00D4FF;
    --text: #333333;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --border: #E5E7EB;
    --gradient-hero: linear-gradient(135deg, #0D1B2A 0%, #1B2838 50%, #0170B9 100%);
    --gradient-accent: linear-gradient(135deg, #0170B9, #00D4FF);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 4px 24px rgba(1, 112, 185, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
    list-style: none;
}

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

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(1, 112, 185, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

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

/* === Container === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(1, 112, 185, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(1, 112, 185, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

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

.navbar.scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

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

.nav-logo svg {
    width: 40px;
    height: 40px;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.nav-logo-text span {
    color: var(--accent);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

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

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

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

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

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

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* === Hero Section === */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* Dot grid background */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 212, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
    animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.15;
}

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

/* Rotating text */
.rotating-text-wrapper {
    display: block;
    height: 1.2em;
    overflow: hidden;
    position: relative;
}

.rotating-text {
    display: block;
    position: relative;
}

.rotate-word {
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(40px) rotateX(-40deg);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom center;
}

.rotate-word.active {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.rotate-word.exit {
    opacity: 0;
    transform: translateY(-40px) rotateX(40deg);
    transform-origin: top center;
}

/* Gradient underline below rotating text */
.rotating-text-wrapper::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    animation: underline-glow 3s ease-in-out infinite;
}

@keyframes underline-glow {

    0%,
    100% {
        width: 60%;
        opacity: 0.8;
    }

    50% {
        width: 80%;
        opacity: 1;
    }
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 0;
    align-items: center;
}

.hero-stat {
    text-align: center;
    padding: 0 28px;
}

.hero-stat:first-child {
    padding-left: 0;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.5), transparent);
    flex-shrink: 0;
}

.hero-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Scroll down indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s;
}

.scroll-indicator:hover {
    color: var(--accent);
}

.scroll-arrow {
    animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}

/* Tech logos bar */
.tech-bar {
    background: rgba(13, 27, 42, 0.95);
    border-top: 1px solid rgba(0, 212, 255, 0.08);
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
    padding: 28px 0;
    position: relative;
    overflow: hidden;
}

.tech-bar-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.tech-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-logo-item:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.tech-logo-item svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

.tech-logo-item span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

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

.hero-graphic {
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1;
    position: relative;
}

/* Outer glow */
.orbit-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Orbit rings */
.hero-graphic .orbit {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: rgba(0, 212, 255, 0.3);
    border-right-color: rgba(0, 212, 255, 0.1);
    animation: spin 30s linear infinite;
}

.hero-graphic .orbit-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-color: rgba(0, 212, 255, 0.25);
}

.hero-graphic .orbit-2 {
    width: 72%;
    height: 72%;
    top: 14%;
    left: 14%;
    animation-duration: 22s;
    animation-direction: reverse;
    border-top-color: rgba(0, 212, 255, 0.35);
    border-right-color: rgba(0, 212, 255, 0.15);
}

.hero-graphic .orbit-3 {
    width: 44%;
    height: 44%;
    top: 28%;
    left: 28%;
    animation-duration: 15s;
    border-top-color: rgba(0, 212, 255, 0.4);
    border-right-color: rgba(0, 212, 255, 0.2);
}

/* Center icon - bigger */
.hero-graphic .center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-accent);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 80px rgba(0, 212, 255, 0.4),
        0 0 160px rgba(0, 212, 255, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    animation: icon-breathe 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes icon-breathe {

    0%,
    100% {
        box-shadow: 0 0 80px rgba(0, 212, 255, 0.4), 0 0 160px rgba(0, 212, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 100px rgba(0, 212, 255, 0.5), 0 0 200px rgba(0, 212, 255, 0.2);
    }
}

.hero-graphic .center-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--white);
}

/* Orbiting service icons */
.orbit-track {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: spin 25s linear infinite;
}

.orbit-track-1 {
    animation-duration: 25s;
}

.orbit-track-2 {
    animation-duration: 25s;
    animation-delay: -4.16s;
}

.orbit-track-3 {
    animation-duration: 25s;
    animation-delay: -8.33s;
}

.orbit-track-4 {
    animation-duration: 25s;
    animation-delay: -12.5s;
}

.orbit-track-5 {
    animation-duration: 25s;
    animation-delay: -16.66s;
}

.orbit-track-6 {
    animation-duration: 25s;
    animation-delay: -20.83s;
}

.orbit-icon {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: counter-spin 25s linear infinite;
}

.orbit-track-1 .orbit-icon {
    animation-duration: 25s;
}

.orbit-track-2 .orbit-icon {
    animation-duration: 25s;
    animation-delay: -4.16s;
}

.orbit-track-3 .orbit-icon {
    animation-duration: 25s;
    animation-delay: -8.33s;
}

.orbit-track-4 .orbit-icon {
    animation-duration: 25s;
    animation-delay: -12.5s;
}

.orbit-track-5 .orbit-icon {
    animation-duration: 25s;
    animation-delay: -16.66s;
}

.orbit-track-6 .orbit-icon {
    animation-duration: 25s;
    animation-delay: -20.83s;
}

.orbit-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    background: rgba(0, 20, 40, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 10px;
    box-sizing: content-box;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.orbit-icon span {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes counter-spin {
    to {
        transform: translateX(-50%) rotate(-360deg);
    }
}

/* Floating particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: particle-float 6s ease-in-out infinite;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    width: 3px;
    height: 3px;
    top: 70%;
    left: 10%;
    animation-delay: 1s;
}

.particle-3 {
    width: 5px;
    height: 5px;
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.particle-4 {
    width: 3px;
    height: 3px;
    bottom: 20%;
    right: 25%;
    animation-delay: 3s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 60%;
    right: 5%;
    animation-delay: 4s;
}

.particle-6 {
    width: 3px;
    height: 3px;
    bottom: 10%;
    left: 35%;
    animation-delay: 5s;
}

@keyframes particle-float {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    20% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1);
    }

    80% {
        opacity: 0.4;
        transform: translateY(-40px) scale(0.6);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* === Services Section === */
.services {
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(1, 112, 185, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    fill: var(--white);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* === Process Section === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 2rem;
}

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

.process-step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(1, 112, 185, 0.25);
}

.process-step h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Connector line */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--border);
}

/* === Portfolio Section === */
.portfolio {
    background: var(--off-white);
}

.portfolio-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 8px 22px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.portfolio-img {
    width: 100%;
    aspect-ratio: 3/2;
    background: linear-gradient(135deg, #E0E7EE, #F0F4F8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-img .placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
}

/* Portfolio App Mockups */
.portfolio-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-mockup .phone-frame {
    width: 120px;
    height: 220px;
    border-radius: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.portfolio-mockup .phone-notch {
    width: 50px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin: 8px auto 6px;
}

.portfolio-mockup .phone-content {
    flex: 1;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portfolio-mockup .mock-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
}

.portfolio-mockup .mock-bar.short {
    width: 60%;
}

.portfolio-mockup .mock-bar.medium {
    width: 80%;
}

.portfolio-mockup .mock-bar.long {
    width: 100%;
}

.portfolio-mockup .mock-card {
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    margin-top: 4px;
}

.portfolio-mockup .mock-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.portfolio-mockup .mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    flex: 1;
}

.portfolio-mockup .mock-grid-item {
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
}

.portfolio-mockup .app-label {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

/* App-specific gradients */
.mockup-banking {
    background: linear-gradient(135deg, #1a2980, #26d0ce);
}

.mockup-barber {
    background: linear-gradient(135deg, #2c3e50, #fd746c);
}

.mockup-ecommerce {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.mockup-fitness {
    background: linear-gradient(135deg, #fc4a1a, #f7b733);
}

.mockup-gym {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.mockup-furniture {
    background: linear-gradient(135deg, #614385, #516395);
}

.mockup-restaurant {
    background: linear-gradient(135deg, #ee0979, #ff6a00);
}

.mockup-taxi {
    background: linear-gradient(135deg, #f5af19, #f12711);
}

.mockup-chat {
    background: linear-gradient(135deg, #0170B9, #00D4FF);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 112, 185, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.portfolio-info {
    padding: 20px 24px;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.portfolio-info .tag {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

/* === Features Section === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    background: rgba(1, 112, 185, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* === Testimonials Section === */
.testimonials {
    background: var(--secondary);
    color: var(--white);
}

.testimonials .section-badge {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* === Team Section === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 28px 16px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    object-fit: cover;
}

img.team-avatar {
    border: 3px solid rgba(1, 112, 185, 0.2);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-card:hover img.team-avatar {
    border-color: var(--accent);
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.82rem;
    margin-bottom: 0;
}

/* === About/Flutter Section === */
.about-flutter {
    background: var(--off-white);
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--border);
}

.about-feature svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* === Stats Section === */
.stats-bar {
    background: var(--gradient-accent);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 800;
    line-height: 1;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-top: 6px;
    margin-bottom: 0;
}

/* === Contact Section === */
.contact {
    background: var(--off-white);
}

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

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--off-white);
}

.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(1, 112, 185, 0.1);
}

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

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

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(1, 112, 185, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--primary);
}

.contact-info-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(1, 112, 185, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--primary);
    transition: var(--transition);
}

.social-link:hover svg {
    fill: var(--white);
}

/* === FAQ Section === */
.faq-section {
    padding: 80px 0;
    background: var(--off-white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(1, 112, 185, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* === CTA Section === */
.cta-section {
    background: var(--gradient-hero);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

/* === Footer === */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* === Animations === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-visual {
        display: none;
    }

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

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

    .scroll-indicator {
        bottom: 20px;
    }

    .tech-logos {
        gap: 32px;
    }

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

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

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

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

    /* --- Mobile Hero --- */
    .hero {
        min-height: auto;
        padding: 80px 0 30px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-content h1 {
        font-size: 2rem;
        text-align: center;
    }

    .rotating-text-wrapper {
        display: block;
        text-align: center;
    }

    .rotate-word {
        left: 0;
        right: 0;
        text-align: center;
    }

    .rotating-text-wrapper::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-tagline {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 1.2rem;
    }

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

    .hero-visual {
        order: 0;
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-graphic .center-icon {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }

    .hero-graphic .center-icon svg {
        width: 32px;
        height: 32px;
    }

    .orbit-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .orbit-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .orbit-icon span {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .tech-logos-bar {
        padding: 12px 0;
    }

    .tech-logos {
        gap: 16px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(13, 27, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

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

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

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

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

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

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

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

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-visual {
        max-width: 220px;
    }

    .hero-stats {
        gap: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat {
        padding: 0 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .tech-logos {
        gap: 20px;
    }

    .tech-logo-item svg {
        width: 22px;
        height: 22px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

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

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

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

    .portfolio-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 16px;
        font-size: 0.82rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

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

    .stat-item h3 {
        font-size: 1.8rem;
    }

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

    .team-card {
        padding: 20px 12px;
    }

    .team-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 20px 16px;
    }

    .container {
        padding: 0 16px;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .portfolio-mockup .phone-frame {
        width: 100px;
        height: 180px;
    }
}