/* =====================================================
   SOFTYUM - PREMIUM DARK MODE LANDING PAGE
   Color Principal: Azul Eléctrico (#3B82F6)
   ===================================================== */

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Backgrounds */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;

    /* Primary Color Scale (Electric Blue) */
    --primary-50: #EFF6FF;
    --primary-100: #DBEAFE;
    --primary-200: #BFDBFE;
    --primary-300: #93C5FD;
    --primary-400: #60A5FA;
    --primary-500: #3B82F6;
    --primary-600: #2563EB;
    --primary-700: #1D4ED8;
    --primary-800: #1E40AF;
    --primary-900: #1E3A8A;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;
    --text-quaternary: #71717A;

    /* Accent Colors */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;

    /* Fonts */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --container-max-width: 1280px;
    --section-padding: 120px;
    --section-padding-mobile: 60px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   PARTICLES BACKGROUND
   ===================================================== */

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(100px, -100px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50px, -200px);
        opacity: 0.6;
    }

    75% {
        transform: translate(-100px, -100px);
        opacity: 0.8;
    }
}

/* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.8), 0 8px 24px rgba(59, 130, 246, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-400);
    margin-bottom: 24px;
}

.label-icon {
    font-size: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 76px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 30%, var(--primary-400) 60%, var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5), 0 4px 24px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.8), 0 8px 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary-500);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-400);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.sphere-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: rotate-ring-1 20s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation: rotate-ring-2 15s linear infinite reverse;
}

.ring-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation: rotate-ring-3 10s linear infinite;
}

.sphere-core {
    position: absolute;
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.6), 0 0 120px rgba(59, 130, 246, 0.4), inset 0 0 60px rgba(59, 130, 246, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes rotate-ring-1 {
    from {
        transform: rotateZ(0deg) rotateY(45deg);
    }

    to {
        transform: rotateZ(360deg) rotateY(45deg);
    }
}

@keyframes rotate-ring-2 {
    from {
        transform: rotateZ(0deg) rotateX(60deg);
    }

    to {
        transform: rotateZ(360deg) rotateX(60deg);
    }
}

@keyframes rotate-ring-3 {
    from {
        transform: rotateZ(0deg) rotateY(80deg);
    }

    to {
        transform: rotateZ(360deg) rotateY(80deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 60px rgba(59, 130, 246, 0.6), 0 0 120px rgba(59, 130, 246, 0.4), inset 0 0 60px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 80px rgba(59, 130, 246, 0.8), 0 0 160px rgba(59, 130, 246, 0.6), inset 0 0 80px rgba(59, 130, 246, 0.5);
    }
}

.neural-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   SOCIAL PROOF
   ===================================================== */

.social-proof {
    padding: 60px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    z-index: 1;
}

.social-proof-text {
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-quaternary);
    margin-bottom: 32px;
}

.tech-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.tech-item {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.tech-item:hover {
    opacity: 1;
}

.tech-label {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* =====================================================
   GLASS CARD COMPONENT
   ===================================================== */

.glass-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 50%, rgba(59, 130, 246, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.35);
    transform: translateY(-4px);
}

/* =====================================================
   SECTIONS COMMON STYLES
   ===================================================== */

section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-400);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.services {
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Flip Card Styles */
.service-card-flip {
    perspective: 1000px;
    height: 400px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.service-card-front {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.service-icon {
    margin-bottom: 24px;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
    transition: transform 0.3s ease;
}

.service-card-front:hover .service-icon {
    transform: scale(1.1);
}

.service-title-front {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
}

.service-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    pointer-events: none;
}

.service-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 50%, rgba(59, 130, 246, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.service-title-back {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-400);
}

/* =====================================================
   SOLUTIONS SECTION
   ===================================================== */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-step {
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.3;
}

.step-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.step-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

.step-visual {
    margin-top: 24px;
}

.code-snippet {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.code-line {
    margin-bottom: 8px;
    color: var(--text-tertiary);
}

.code-keyword {
    color: var(--primary-400);
}

.code-variable {
    color: #60A5FA;
}

.code-function {
    color: #93C5FD;
}

.code-string {
    color: var(--success);
}

.integration-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.integration-node {
    flex: 1;
    padding: 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-400);
}

.integration-node.central {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-color: var(--primary-500);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.integration-arrow {
    color: var(--primary-500);
    font-size: 24px;
    font-weight: bold;
}

.metrics-display {
    display: flex;
    gap: 24px;
}

.metric-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-400);
    margin-bottom: 8px;
}

.metric-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* =====================================================
   CASE STUDIES SECTION
   ===================================================== */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.case-card {
    display: flex;
    flex-direction: column;
}

.case-metric {
    margin-bottom: 24px;
}

.metric-big {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label-big {
    font-size: 14px;
    color: var(--text-tertiary);
}

.case-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.case-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.case-tag {
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-400);
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */

.testimonials {
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 64px;
    font-family: Georgia, serif;
    color: var(--primary-500);
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.avatar-placeholder {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--text-tertiary);
}

.rating {
    display: flex;
    gap: 4px;
}

.star {
    color: var(--primary-500);
    font-size: 18px;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    animation: float 6s ease-in-out infinite;
}

.about-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 16px;
}

.feature-icon-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 18px;
}

.feature-text p {
    color: var(--text-tertiary);
    font-size: 16px;
    line-height: 1.6;
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5), 0 8px 32px rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease;
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-cta-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.8), 0 12px 48px rgba(59, 130, 246, 0.7);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
    padding: 20px 40px;
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    border-color: var(--primary-500);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.cta-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* =====================================================
   DEMO FORM SECTION
   ===================================================== */

.demo-form-section {
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.demo-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.demo-form-header {
    text-align: center;
    margin-bottom: 60px;
}

.demo-form {
    position: relative;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.required {
    color: var(--primary-400);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-quaternary);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%233B82F6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    font-size: 13px;
    color: #EF4444;
    margin-top: 6px;
    min-height: 18px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-500);
}

.checkbox-text {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.link-primary {
    color: var(--primary-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-primary:hover {
    color: var(--primary-300);
    text-decoration: underline;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 30%, var(--primary-400) 60%, var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    padding: 16px 48px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5), 0 4px 24px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 280px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.8), 0 8px 40px rgba(59, 130, 246, 0.6);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-text,
.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-submit:hover:not(:disabled) .btn-icon {
    transform: translateX(4px);
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.form-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

.form-message {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    margin-top: 24px;
    animation: fade-in-up 0.5s ease-out;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.success-message h4 {
    color: #22C55E;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.success-message p {
    color: var(--text-tertiary);
    font-size: 14px;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.error-message h4 {
    color: #EF4444;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.error-message p {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-400);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-500);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.copyright {
    font-size: 14px;
    color: var(--text-quaternary);
}

.footer-legal {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-legal a {
    color: var(--text-quaternary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-400);
}

.separator {
    color: var(--text-quaternary);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 56px;
    }

    .section-title {
        font-size: 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 400px;
    }

    .floating-sphere {
        width: 300px;
        height: 300px;
    }

    .services-grid,
    .solutions-grid,
    .cases-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .hero-visual {
        height: 300px;
    }

    .floating-sphere {
        width: 200px;
        height: 200px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .services-grid,
    .solutions-grid,
    .cases-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .service-card-flip {
        height: 350px;
    }

    /* Mobile: tap to flip */
    .service-card-flip.flipped .service-card-inner {
        transform: rotateY(180deg);
    }

    .tech-stack {
        gap: 24px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-subtitle {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Reduce particles on mobile */
    .particle:nth-child(n+20) {
        display: none;
    }
}

/* Desktop XL */
@media (min-width: 1440px) {
    :root {
        --container-max-width: 1400px;
    }
}

/* Form Responsive Styles */
@media (max-width: 1023px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .btn-submit {
        width: 100%;
        min-width: auto;
    }
}