/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Colors */
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --secondary: #a855f7;
    --secondary-dark: #9333ea;
    --accent: #f97316;
    --dark: #0a0e27;
    --dark-light: #0f172a;
    --dark-lighter: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===================================
   Container
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    transition: var(--transition);
}

.nav-brand i {
    color: var(--primary);
}

.nav-brand:hover {
    color: var(--primary);
}

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

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.grid-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent);
    top: 10%;
    left: 10%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent);
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent);
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -30px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(20px, 10px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number::after {
    content: '+';
}

.stat-number[data-target="24"]::after {
    content: '/7';
}

.stat-number[data-target="98"]::after {
    content: '%';
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Hero Visual - 3D Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.card-3d {
    position: absolute;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.card-3d:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.3);
    border-color: var(--primary);
}

.card-3d i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.card-3d h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-3d p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.card-3d-1 {
    top: 10px;
    left: 0;
    width: 180px;
    animation-delay: 0s;
}

.card-3d-2 {
    top: 40px;
    right: 10px;
    width: 170px;
    animation-delay: 1s;
}

.card-3d-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    animation-delay: 2s;
    z-index: 2;
}

.card-3d-4 {
    bottom: 20px;
    left: 10px;
    width: 180px;
    animation-delay: 3s;
}

.card-3d-5 {
    bottom: 10px;
    right: 0;
    width: 180px;
    animation-delay: 4s;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(148, 163, 184, 0.2);
    border-color: var(--primary);
}

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ===================================
   Section Base Styles
   =================================== */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

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

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

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.feature-card > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.feature-list i {
    color: var(--primary);
    font-size: 0.875rem;
}

/* ===================================
   Services Section
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* ===================================
   Tech Stack Section
   =================================== */
.tech-stack {
    background: var(--dark-light);
}

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

.tech-category {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.tech-category:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.tech-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-category h3 i {
    color: var(--primary);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-item {
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
}

.tech-item:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   Cases Section
   =================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.2);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.case-meta h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.case-category {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.case-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: var(--radius-md);
}

.metric {
    text-align: center;
    min-width: 0;
    overflow: hidden;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    word-break: keep-all;
    line-height: 1.3;
    max-width: 100%;
}

/* Adjust font size based on content length */
.case-metrics .metric-value {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    padding: 0 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(168, 85, 247, 0.1);
    color: var(--secondary);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
    background: var(--dark-light);
}

.pricing-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar styling */
.pricing-grid::-webkit-scrollbar {
    height: 8px;
}

.pricing-grid::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.1);
    border-radius: 4px;
}

.pricing-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.pricing-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.pricing-card {
    flex-shrink: 0;
    width: 320px;
    scroll-snap-align: start;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.2);
}

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

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

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-muted);
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

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

.period {
    color: var(--text-muted);
    font-size: 1.125rem;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

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

.pricing-features li.disabled {
    opacity: 0.4;
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.pricing-note {
    text-align: center;
    padding: 1.5rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(6, 182, 212, 0.1);
}

.pricing-note p {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-note i {
    color: var(--primary);
}

/* ===================================
   Contact Section
   =================================== */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.875rem;
    color: var(--text);
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
}

.form-success {
    text-align: center;
    padding: 3rem;
}

.form-success i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--text-muted);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-light);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-muted);
}

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

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

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

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

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

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

/* ===================================
   Metric Value Responsive Adjustments
   =================================== */
.metric-value {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Smaller font for longer text */
@media (max-width: 1200px) {
    .case-metrics .metric-value {
        font-size: clamp(1rem, 2.8vw, 1.4rem);
    }
}

@media (max-width: 900px) {
    .case-metrics .metric-value {
        font-size: clamp(0.95rem, 2.8vw, 1.3rem);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .card-3d {
        padding: 1.5rem;
    }
    
    .card-3d-1 {
        top: 20px;
        left: 10px;
        width: 150px;
    }
    
    .card-3d-2 {
        top: 40px;
        right: 10px;
        width: 140px;
    }
    
    .card-3d-3 {
        top: 160px;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
    }
    
    .card-3d-4 {
        bottom: 20px;
        left: 10px;
        width: 150px;
    }

    .card-3d-5 {
        bottom: 40px;
        right: 10px;
        width: 150px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* General */
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid,
    .tech-categories,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .case-metrics .metric-value {
        font-size: 1rem;
    }
    
    .case-metrics {
        padding: 1rem 0.75rem;
        gap: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   Pricing Card Specifics (Matching HTML classes)
   =================================== */
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    z-index: 1;
}

.plan-badge.popular {
    background: var(--gradient-accent);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.plan-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    min-height: 2.5rem;
}

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

.pricing-card .features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

.pricing-card .features li i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.pricing-card .features li i.fa-times {
    color: var(--text-muted);
    opacity: 0.5;
}

.plan-details {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-bottom: 1rem;
}

.plan-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    display: flex;
    justify-content: space-between;
}

.plan-details p strong {
    color: var(--text);
}

.pricing-note {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-top: 3rem;
}

.pricing-note p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pricing-note strong {
    color: var(--primary);
}

.pricing-note i {
    color: var(--primary);
    margin-right: 0.5rem;
}
/* ===================================
   FAQ Section
   =================================== */
.faq {
    background: var(--dark-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: var(--primary);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

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

.faq-answer.active {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ===================================
   Process Section
   =================================== */
.process {
    background: var(--dark);
}

/* Quick Start Banner */
.quick-start-banner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.quick-start-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 0;
}

.quick-start-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 1;
}

.quick-start-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.quick-start-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-start-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar styling */
.process-timeline::-webkit-scrollbar {
    height: 8px;
}

.process-timeline::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.1);
    border-radius: 4px;
}

.process-timeline::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.process-timeline::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.1;
}

.step-content {
    flex: 1;
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-content:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.2);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.step-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    justify-content: center;
}

.step-duration i {
    font-size: 0.9rem;
}

/* Process CTA */
.process-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.75rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.process-cta h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.process-cta p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}
