/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-blue: #369BFD;
    --primary-cyan: #36FDB5;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(26, 26, 46, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --border-color: rgba(54, 155, 253, 0.2);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* ===================================
   ANIMATED BACKGROUND
   =================================== */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, var(--bg-dark) 0%, var(--bg-darker) 100%);
    overflow: hidden;
}

.animated-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(54, 155, 253, 0.15) 0%,
        rgba(54, 253, 181, 0.1) 25%,
        transparent 50%
    );
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan));
    transition: width var(--transition-medium);
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(54, 155, 253, 0.1);
    border: 1px solid rgba(54, 155, 253, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-cyan);
}

.social-badge svg {
    color: var(--primary-cyan);
}

.cta-button {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(54, 155, 253, 0.4);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(54, 155, 253, 0.1);
    border: 1px solid rgba(54, 155, 253, 0.3);
    border-radius: 25px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    animation: fadeInDown 0.8s ease;
}

.hero-badge a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    padding: .6rem 1.4rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(54, 155, 253, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(54, 155, 253, 0.5);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(54, 155, 253, 0.1);
    border-color: var(--primary-cyan);
}

/* Hero Visuals */
.hero-visuals {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 500px;
    margin-bottom: 3rem;
}

.floating-card {
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(54, 155, 253, 0.2);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-1 {
    top: 50px;
    left: 10%;
    width: 400px;
    height: 300px;
    animation-delay: 0s;
    z-index: 3;
}

.card-2 {
    top: 100px;
    right: 15%;
    width: 350px;
    height: 280px;
    animation-delay: 1s;
    z-index: 2;
}

.card-3 {
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 200px;
    animation-delay: 2s;
    z-index: 1;
}

.card-4 {
    top: 20px;
    right: 5%;
    width: 300px;
    height: 400px;
    animation-delay: 1.5s;
    z-index: 2;
}

/* Process Animation */
.process-animation {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(54, 155, 253, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease 1s both;
}

.process-item {
    padding: 0.75rem 1.5rem;
    background: rgba(54, 155, 253, 0.1);
    border: 1px solid rgba(54, 155, 253, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    animation: slideInLeft 0.5s ease both;
}

.process-item:nth-child(1) { animation-delay: 1.2s; }
.process-item:nth-child(2) { animation-delay: 1.4s; }
.process-item:nth-child(3) { animation-delay: 1.6s; }
.process-item:nth-child(4) { animation-delay: 1.8s; }
.process-item:nth-child(5) { animation-delay: 2s; }
.process-item:nth-child(6) { animation-delay: 2.2s; }
.process-item:nth-child(7) { animation-delay: 2.4s; }

.process-item.highlight {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    color: white;
    font-weight: 600;
}

/* ===================================
   TRUST SECTION
   =================================== */
.trust-section {
    padding: 4rem 0;
    background: rgba(26, 26, 46, 0.2);
}

.trust-title {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-marquee {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
}

.logo-track img {
    height: 60px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition-medium);
}

.logo-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===================================
   ANIMATED TEXT SECTION
   =================================== */
.animated-text-section {
    padding: 6rem 0;
    overflow: hidden;
}

.rotating-text-wrapper {
    text-align: center;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
}

.rotating-prefix {
    color: var(--text-secondary);
    display: block;
    margin-bottom: 1rem;
}

.rotating-word {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite, scaleIn 0.8s ease;
}

/* ===================================
   MAIN FEATURE SECTION
   =================================== */
.main-feature {
    padding: 6rem 0;
    position: relative;
}

.main-feature::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(54, 155, 253, 0.05), transparent);
    pointer-events: none;
}

.main-feature .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.feature-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 2.5rem;
    line-height: 1.15;
    font-weight: 800;
}

.feature-problems {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-problems p {
    color: var(--text-secondary);
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.feature-problems p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(54, 155, 253, 0.5);
}

.feature-problems p:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.feature-problems p.highlight {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1rem 0 1rem 2rem;
    margin-top: 1rem;
}

.feature-problems p.highlight::before {
    width: 10px;
    height: 10px;
    top: 1.6rem;
    background: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(54, 253, 181, 0.6);
}

.feature-visual {
    position: relative;
    perspective: 1000px;
}

.feature-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(54, 155, 253, 0.2);
    transition: all var(--transition-slow);
}

.feature-visual:hover img {
    transform: translateY(-10px) rotateY(-5deg);
    box-shadow: 
        0 40px 100px rgba(54, 155, 253, 0.4),
        0 0 0 1px rgba(54, 253, 181, 0.4);
}

/* ===================================
   FEATURE CARDS GRID
   =================================== */
.features-grid {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.25), rgba(10, 10, 15, 0.3));
    position: relative;
}

.features-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(54, 155, 253, 0.3), transparent);
}

.features-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.5));
    border: 1px solid rgba(54, 155, 253, 0.25);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(50px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-cyan);
    box-shadow: 
        0 25px 70px rgba(54, 155, 253, 0.4),
        0 0 0 1px rgba(54, 253, 181, 0.2);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.7));
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 2rem;
    padding: 14px;
    background: rgba(54, 155, 253, 0.1);
    border: 1px solid rgba(54, 155, 253, 0.3);
    border-radius: 18px;
    transition: all var(--transition-medium);
}

.feature-card:hover .feature-icon {
    background: rgba(54, 155, 253, 0.2);
    border-color: var(--primary-cyan);
    transform: scale(1.05) rotateY(10deg);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===================================
   INFRASTRUCTURE SECTION
   =================================== */
.infrastructure-section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(54, 155, 253, 0.1);
    border: 1px solid rgba(54, 155, 253, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.infra-description {
    text-align: center;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.use-case-card {
    padding: 2rem;
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(54, 155, 253, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.use-case-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.use-case-card:hover {
    transform: translateY(-5px);
    background: rgba(26, 26, 46, 0.6);
    border-color: var(--primary-cyan);
}

.use-case-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.use-case-icon svg {
    width: 100%;
    height: 100%;
}

.use-case-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.docs-cta {
    text-align: center;
    margin-top: 3rem;
}

.link-arrow {
    color: var(--primary-cyan);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    position: relative;
    display: inline-block;
}

.link-arrow::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-cyan);
    transform: scaleX(1);
    transition: transform var(--transition-medium);
}

.link-arrow:hover::after {
    transform: scaleX(1.1);
}

/* ===================================
   USE CASE SHOWCASE
   =================================== */
.use-case-showcase {
    padding: 6rem 0;
    position: relative;
}

.use-case-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(54, 155, 253, 0.3), transparent);
}

.use-case-showcase .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.use-case-showcase.reverse-layout .container {
    direction: rtl;
}

.use-case-showcase.reverse-layout .showcase-content {
    direction: ltr;
}

.showcase-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(54, 155, 253, 0.15), rgba(54, 253, 181, 0.1));
    border: 1px solid rgba(54, 155, 253, 0.4);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.showcase-badge span:first-child {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-powered {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: lowercase;
}

.showcase-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-cyan);
    line-height: 1.8;
}

.showcase-content h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.showcase-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(54, 155, 253, 0.1);
    border-radius: 12px;
    transition: all var(--transition-medium);
}

.showcase-feature:hover {
    background: rgba(26, 26, 46, 0.5);
    border-color: rgba(54, 155, 253, 0.3);
    transform: translateX(10px);
}

.feature-mini-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    padding: 8px;
    background: rgba(54, 155, 253, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-mini-icon svg {
    width: 100%;
    height: 100%;
}

.showcase-feature h5 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.showcase-feature p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.showcase-visual {
    position: relative;
    perspective: 1000px;
}

.showcase-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(54, 155, 253, 0.2);
    transition: all var(--transition-slow);
}

.showcase-visual:hover img {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 
        0 30px 80px rgba(54, 155, 253, 0.3),
        0 0 0 1px rgba(54, 253, 181, 0.4);
}

/* Specific showcase styling */
.education-showcase {
    background: radial-gradient(circle at 30% 50%, rgba(54, 155, 253, 0.05), transparent);
}

.healthcare-showcase {
    background: radial-gradient(circle at 70% 50%, rgba(54, 253, 181, 0.05), transparent);
}

.support-showcase {
    background: radial-gradient(circle at 30% 50%, rgba(54, 155, 253, 0.05), transparent);
}

/* ===================================
   TESTIMONIAL SECTION
   =================================== */
.testimonial-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.3), rgba(26, 26, 46, 0.1));
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(54, 155, 253, 0.05), transparent);
    pointer-events: none;
}

.testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.6));
    border: 1px solid rgba(54, 155, 253, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium);
    position: relative;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 120px;
    color: rgba(54, 155, 253, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    border-color: rgba(54, 253, 181, 0.5);
    box-shadow: 
        0 25px 70px rgba(54, 155, 253, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.testimonial-logo {
    margin-bottom: 2.5rem;
    filter: brightness(0.8);
    transition: filter var(--transition-medium);
}

.testimonial-card:hover .testimonial-logo {
    filter: brightness(1);
}

.testimonial-logo img {
    height: 60px;
    opacity: 0.9;
}

.testimonial-quote {
    font-size: 1.5rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(54, 155, 253, 0.2);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(54, 253, 181, 0.3);
    transition: all var(--transition-medium);
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(54, 253, 181, 0.5);
}

.author-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(54, 155, 253, 0.1), rgba(54, 253, 181, 0.1));
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium);
}

.cta-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 4rem 0 2rem;
    background: rgba(10, 10, 15, 0.8);
    border-top: 1px solid rgba(54, 155, 253, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-col h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary-cyan);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(54, 155, 253, 0.1);
    border: 1px solid rgba(54, 155, 253, 0.3);
    border-radius: 50%;
    color: var(--primary-cyan);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: rgba(54, 155, 253, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(54, 155, 253, 0.2);
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--primary-cyan);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary-cyan);
}

/* ===================================
   SCROLL REVEAL ANIMATIONS
   =================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   KEYFRAME ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-links.active {
    display: flex !important;
  }
  
  .mobile-menu {
    display: flex;
    z-index: 1001;
  }
    
    .hero-visuals {
        height: 400px;
    }
    
    .card-1, .card-2, .card-4 {
        width: 280px;
        height: 220px;
    }
    
    .card-3 {
        width: 600px;
        height: 150px;
    }
    
    .main-feature .container,
    .use-case-showcase .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }

  .hero {
    .hero {
    padding: 5rem 1rem 0 !important; /* Remove bottom padding entirely */
  }
  
  .hero-subtitle {
    margin-bottom: 1.5rem; /* Reduced from 3rem */
  }
  
  .hero-ctas {
    margin-bottom: 1.5rem !important; /* Reduced from 4rem */
  }
  
  .hero-visuals {
    height: 300px;
    margin-bottom: 1rem !important; /* Reduced from 3rem */
  }
  
  .process-animation {
    padding: 1rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important; /* This controls the gap you circled */
  }

  /* Reduce ALL section padding aggressively */
  .trust-section {
    padding-top: 1rem !important;
  }
  
  .animated-text-section {
    padding: 2rem 0 !important;
  }
  
  .main-feature {
    padding: 2rem 0 !important;
  }
  
  .features-grid {
    padding: 2rem 0 !important;
  }
  
  .infrastructure-section {
    padding: 2rem 0 !important;
  }
  
  .use-case-showcase {
    padding: 2rem 0 !important;
  }
  
  .testimonial-section {
    padding: 2rem 0 !important;
  }
  
  .cta-section {
    padding: 2.5rem 0 !important;
  }
  
  .footer {
    padding: 2rem 0 1rem !important;
  }

  .floating-card {
    display: none;
  }

  .card-3 {
    display: block;
    position: static;
    transform: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .features-grid .container,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .btn {
    width: 100%;
  }

  .showcase-features {
    gap: 1rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-quote {
    font-size: 1.1rem;
  }
  
  /* Reduce internal spacing */
  .section-header {
    margin-bottom: 1.5rem !important;
  }
  
  .infra-description {
    margin-bottom: 2rem !important;
  }
  
  .use-cases-grid {
    margin-bottom: 1.5rem !important;
  }
}
@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  .hero {
    padding: 6rem 1rem 2rem; /* Reduced bottom padding */
  }
  
  /* Reduce all section padding for mobile */
  .trust-section {
    padding: 2rem 0;
  }
  
  .animated-text-section {
    padding: 3rem 0;
  }
  
  .main-feature {
    padding: 3rem 0;
  }
  
  .features-grid {
    padding: 3rem 0;
  }
  
  .infrastructure-section {
    padding: 3rem 0;
  }
  
  .use-case-showcase {
    padding: 3rem 0;
  }
  
  .testimonial-section {
    padding: 3rem 0;
  }
  
  .cta-section {
    padding: 4rem 0;
  }

  .hero-visuals {
    height: 300px;
    margin-bottom: 2rem; /* Reduced from 3rem */
  }

  .floating-card {
    display: none;
  }

  .card-3 {
    display: block;
    position: static;
    transform: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .features-grid .container,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    margin-bottom: 2rem; /* Reduced from 4rem */
  }

  .btn {
    width: 100%;
  }

  .showcase-features {
    gap: 1rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-quote {
    font-size: 1.1rem;
  }
}


@media (max-width: 480px) {
  .nav-container {
    padding: 1rem;
  }

  .nav-right .social-badge {
    display: none;
  }
  
  /* Even tighter spacing for small phones */
  .hero {
    padding: 5rem 1rem 1.5rem;
  }
  
  .trust-section,
  .animated-text-section,
  .main-feature,
  .features-grid,
  .infrastructure-section,
  .use-case-showcase,
  .testimonial-section {
    padding: 2rem 0;
  }
  
  .cta-section {
    padding: 3rem 0;
  }

  .process-animation {
    gap: 0.5rem;
    padding: 1.5rem; /* Reduced from 2rem */
  }

  .process-item {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .logo-track {
    gap: 2rem;
  }

  .use-case-card {
    padding: 1.5rem;
  }
  
  .section-header {
    margin-bottom: 2rem; /* Reduced from 3rem */
  }
  
  .infra-description {
    margin-bottom: 2rem; /* Reduced from 4rem */
  }
}
