/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: #27272a;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-3: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-image {
    height: 52px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.logo-link:hover .logo-image {
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.8));
    transform: scale(1.05);
}

.logo-link:hover .logo-text {
    color: #e5e7eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

/* Particles Background */
.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(100px, -100px) scale(1.5);
        opacity: 0.8;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out, orbPulse 4s infinite ease-in-out;
}

@keyframes orbPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-3);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* Web Animation Vectors */
.web-animations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.web-vector {
    position: absolute;
    opacity: 0.6;
    filter: blur(1px);
}

.vector-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: floatVector 15s infinite ease-in-out;
}

.vector-2 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 10%;
    animation: floatVector 18s infinite ease-in-out reverse;
}

.vector-3 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    animation: floatVector 12s infinite ease-in-out;
}

.vector-4 {
    width: 280px;
    height: 280px;
    top: 20%;
    right: 20%;
    animation: floatVector 20s infinite ease-in-out;
}

@keyframes floatVector {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(3deg);
    }
}

/* Code Elements */
.code-element {
    position: absolute;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.3;
    font-family: 'Courier New', monospace;
    pointer-events: none;
    animation: floatCode 8s infinite ease-in-out;
}

.code-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    font-size: 2.5rem;
}

.code-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
    color: var(--secondary-color);
}

.code-3 {
    bottom: 30%;
    left: 8%;
    animation-delay: 2s;
    color: var(--accent-color);
    font-size: 2.2rem;
}

.code-4 {
    top: 60%;
    right: 8%;
    animation-delay: 1.5s;
    font-size: 3rem;
}

.code-5 {
    bottom: 15%;
    right: 25%;
    animation-delay: 0.5s;
    font-size: 2.8rem;
    color: var(--secondary-color);
}

.code-6 {
    top: 25%;
    left: 25%;
    animation-delay: 2.5s;
    font-size: 2.3rem;
    color: var(--accent-color);
}

@keyframes floatCode {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -20px) scale(1.1) rotate(5deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-15px, 15px) scale(0.9) rotate(-5deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(15px, 20px) scale(1.05) rotate(3deg);
        opacity: 0.45;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.simple-hero-title {
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Fix: ensure simple hero title is always visible and above background layers */
.hero-title.simple-hero-title {
    position: relative;
    z-index: 15;
    color: #ffffff !important;
    opacity: 1 !important;
    line-height: 1.05;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    word-break: break-word;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

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

.shimmer-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, 
        #6366f1 0%, 
        #8b5cf6 25%, 
        #ec4899 50%, 
        #8b5cf6 75%, 
        #6366f1 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.shimmer-text-delay {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, 
        #6366f1 0%, 
        #8b5cf6 25%, 
        #ec4899 50%, 
        #8b5cf6 75%, 
        #6366f1 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite 0.5s;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.hero-subtitle {
    /* Responsive subtitle: scales smoothly between mobile and desktop (desktop prioritized) */
    font-size: clamp(0.95rem, 1.1rem + 0.6vw, 1.6rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    max-width: 44rem; /* slightly wider for desktop readability */
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.6),
                0 0 40px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    background: var(--gradient-1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5),
                0 0 40px rgba(99, 102, 241, 0.3);
    border-color: transparent;
}

.btn-full {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

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

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2.5rem, 4.5vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: #ffffff;
    border-radius: 2px;
    animation: expandLine 1s ease forwards;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

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

/* Services Section */
.services {
    background: var(--bg-dark);
}

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

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.6s ease, background 0.5s ease;
    will-change: transform, box-shadow;
    transform-origin: center center;
    text-align: center;
    position: relative;
    overflow: hidden;
} 

/* Our Services – cheapest darker, most advanced brighter */
.services .service-card:nth-child(1) {
    /* Match Starter pricing card: darker, subtle purple glow */
    background: radial-gradient(circle at top left, rgba(39, 39, 42, 0.88), #050505);
    border-color: rgba(99,102,241,0.22);
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.22), 0 0 36px rgba(139, 92, 246, 0.12);
}

.services .service-card:nth-child(2) {
    /* Match Professional pricing card: medium brightness purple/violet */
    background: radial-gradient(circle at top, rgba(76, 81, 191, 0.25), #050505);
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.3), 0 0 45px rgba(139, 92, 246, 0.25);
}

.services .service-card:nth-child(3) {
    /* Match Enterprise pricing card: brighter dual cool gradient */
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.22), rgba(129, 140, 248, 0.25), #050505);
    border-color: rgba(129, 140, 248, 0.9);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.35), 0 0 50px rgba(129, 140, 248, 0.35);
}

.services .service-card:nth-child(3) .service-icon {
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.6);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.03) rotateX(6deg);
    border-color: var(--primary-color);
    box-shadow: 0 30px 90px rgba(99, 102, 241, 0.5),
                0 0 60px rgba(99, 102, 241, 0.25),
                inset 0 0 40px rgba(99, 102, 241, 0.12);
    background: linear-gradient(180deg, var(--bg-card-hover) 0%, rgba(255,255,255,0.02) 100%);
}

/* Slight lift when hovering a child element (icon) */
.service-card:hover .service-icon {
    transform: translateY(-8px) scale(1.14) rotate(-8deg);
    box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 8px 30px rgba(99, 102, 241, 0.18);
} 

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.25, 1), box-shadow 0.45s;
    will-change: transform, box-shadow;
    border-radius: 50%;
    z-index: 2;
    animation: iconFloat 6s ease-in-out infinite, iconPulse 4s ease-in-out infinite;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    z-index: 1;
    filter: blur(14px);
    opacity: 0.95;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Per-icon soft background gradients */
.service-icon-1::before { background: radial-gradient(circle at 30% 30%, rgba(99,102,241,0.18), rgba(139,92,246,0.08)); }
.service-icon-2::before { background: radial-gradient(circle at 30% 30%, rgba(236,72,153,0.16), rgba(139,92,246,0.08)); }
.service-icon-3::before { background: radial-gradient(circle at 30% 30%, rgba(56,189,248,0.16), rgba(129,140,248,0.08)); }

.service-icon svg {
    width: 56%;
    height: 56%;
    z-index: 3;
    transform: translateZ(0);
}

/* Make icons pop on hover */
.service-card:hover .service-icon::before { transform: scale(1.06); opacity: 1; }

/* Subtle icon shadow and motion */
.service-icon { box-shadow: 0 8px 20px rgba(0,0,0,0.45); }


/* Extra vector glow styles for services */
.service-icon-1 {
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.6));
}

.service-icon-2 {
    filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.6)) drop-shadow(0 0 10px rgba(139, 92, 246, 0.35));
}

.service-icon-3 {
    filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.7)) drop-shadow(0 0 10px rgba(99, 102, 241, 0.28));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

@keyframes iconFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes iconPulse {
    0% { box-shadow: 0 6px 18px rgba(0,0,0,0.42); }
    50% { box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
    100% { box-shadow: 0 6px 18px rgba(0,0,0,0.42); }
}

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
    .service-card, .service-icon, .web-vector, .gradient-orb, .particle { animation: none !important; transition: none !important; }
}


/* Pricing Section */
.pricing {
    background: var(--bg-darker);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Starter (cheapest) - darkest */
.pricing-card:nth-child(1) {
    background: radial-gradient(circle at top left, rgba(39, 39, 42, 0.88), #050505);
    border-color: rgba(99,102,241,0.22);
    /* add a subtle bright dual ring/glow similar to other cards but smaller */
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.22), 0 0 36px rgba(139, 92, 246, 0.12);
}

.pricing-card:nth-child(1) .amount {
    /* Make starter amount use the first gradient (purple -> violet) to keep order */
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Professional (middle) - medium brightness */
.pricing-card:nth-child(2) {
    background: radial-gradient(circle at top, rgba(76, 81, 191, 0.25), #050505);
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.3), 0 0 45px rgba(139, 92, 246, 0.25);
}

.pricing-card:nth-child(2) .amount {
    /* set middle plan to gradient-2 so the three plans read in order 1->2->3 */
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enterprise (most expensive) - dual cool gradient, brightest */
.pricing-card:nth-child(3) {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.22), rgba(129, 140, 248, 0.25), #050505);
    border-color: rgba(129, 140, 248, 0.9);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.35), 0 0 50px rgba(129, 140, 248, 0.35);
}

.pricing-card:nth-child(3) .pricing-badge {
    background: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #8b5cf6 100%);
}

.pricing-card:nth-child(3) .amount {
    /* third plan uses gradient-3 (purple -> accent) to complete the ordered set */
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.4),
                0 0 50px rgba(99, 102, 241, 0.3),
                inset 0 0 40px rgba(99, 102, 241, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -6px;
    right: 20px;
    background: var(--gradient-1);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Explicit per-plan badge colors to match site gradients */
.pricing-card:nth-child(1) .pricing-badge {
    background: var(--gradient-1);
}

.pricing-card:nth-child(2) .pricing-badge,
.pricing-card.featured .pricing-badge {
    background: var(--gradient-2);
}

.pricing-card:nth-child(3) .pricing-badge {
    background: var(--gradient-3);
}

.featured-badge {
    /* kept for backwards compatibility */
    background: var(--gradient-2);
}

/* Per-plan CTA styles */
.pricing-card:nth-child(1) .btn-outline {
    color: #fff;
    border-color: transparent;
}
.pricing-card:nth-child(1) .btn-outline::before {
    background: var(--gradient-1);
}
.pricing-card:nth-child(1) .btn-outline:hover {
    background: var(--gradient-1);
    box-shadow: 0 10px 30px rgba(99,102,241,0.35), 0 0 40px rgba(139,92,246,0.18);
    border-color: transparent;
}

.pricing-card:nth-child(2) .btn-primary {
    background: var(--gradient-2);
    box-shadow: 0 10px 30px rgba(236,72,153,0.35), 0 0 40px rgba(139,92,246,0.18);
}

.pricing-card:nth-child(3) .btn-outline {
    color: #fff;
    border-color: transparent;
}
.pricing-card:nth-child(3) .btn-outline::before {
    background: var(--gradient-3);
}
.pricing-card:nth-child(3) .btn-outline:hover {
    background: var(--gradient-3);
    box-shadow: 0 10px 30px rgba(56,189,248,0.35), 0 0 40px rgba(129,140,248,0.18);
    border-color: transparent;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #f9fafb;
}

/* Make text in brightest (Enterprise) card extra clear */
.pricing-card:nth-child(3) .pricing-header h3 {
    color: #fefce8;
}

.pricing-card:nth-child(3) .pricing-features li {
    color: #e5e7eb;
    border-bottom-color: rgba(248, 250, 252, 0.12);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.pricing-features li:hover {
    color: var(--text-primary);
}

.pricing-card .btn {
    margin-top: auto;
    text-align: center;
}

.pricing-note {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.pricing-note p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.pricing-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* Features Section */
.features {
    background: var(--bg-dark);
}

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

.feature-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-1);
    transition: height 0.4s ease;
}

.feature-item:hover::before {
    height: 100%;
}

.feature-item:hover {
    transform: translateX(15px) translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.3),
                0 0 30px rgba(99, 102, 241, 0.2);
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--bg-darker);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.form-group select {
    cursor: pointer;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Additional Animations */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Enhanced Card Animations */
.service-card,
.pricing-card,
.feature-item {
    animation: slideInFromBottom 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 768px) {
    .custom-cursor,
    .cursor-follower {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }
    
    .web-vector {
        width: 150px !important;
        height: 150px !important;
        opacity: 0.4;
    }
    
    .code-element {
        font-size: 1.5rem !important;
    }
    
    .vector-1, .vector-2, .vector-3, .vector-4 {
        width: 150px;
        height: 150px;
    }
    
    .code-1 { font-size: 1.8rem !important; }
    .code-4 { font-size: 2rem !important; }
    .code-5 { font-size: 2rem !important; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid var(--border-color);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero {
        padding: 100px 0 40px;
    }

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

    .btn {
        text-align: center;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .pricing-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .amount {
        font-size: 2.5rem;
    }

    /* Ensure hero subtitle remains compact on small phones */
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* Larger screens: increase hero sizing for better desktop readability */
@media (min-width: 1200px) {
    .hero-subtitle {
        font-size: 1.6rem;
        max-width: 54rem;
    }

    .hero-title {
        font-size: clamp(3rem, 5vw, 5rem);
    }
}

/* Smooth scrolling animation for elements */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

