/* Global Variables & Reset */
:root {
    --bg-color: #050510;
    --card-bg: rgba(255, 255, 255, 0.02);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --gradient-main: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-snappy: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing Standard */
    --spacing-container: 2rem;
    --spacing-section: clamp(5rem, 10vh, 10rem);
    --border-radius-card: 24px;
}



/* Add will-change to glass cards for smoother hover effects */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Background Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjZikiIG9wYWNpdHk9IjAuMDUiLz48L3N2Zz4=');
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-primary);
    /* Use variable! */
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    letter-spacing: -0.03em;
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem);
}

p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    /* Fix for some browsers */
}

/* Layout Utilities */
.container {
    max-width: 1440px;
    /* Increased from 1280px */
    margin: 0 auto;
    padding: 0 var(--spacing-container);
    width: 95%;
    /* Wider on smaller large screens */
}

section {
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
    /* Prevent overflow from animations */
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vh, 5rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-header .subtitle {
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Advanced Glassmorphism Card */
.glass-card {
    background: var(--card-bg);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--border-radius-card);
    padding: clamp(2rem, 3vw, 3rem);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Mouse Glow Effect Logic */
.glass-card::before,
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    /* Border width */
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.15),
            transparent 40%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.glass-card:hover::before,
.service-item:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Header */
header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

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

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

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links .btn-primary {
    color: white;
    padding: 0.6rem 1.8rem;
    margin-left: 2.5rem;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--accent-primary);
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    align-items: center;
}

/* Hero Visual & Blobs */
.hero-visual {
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.glow-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(5, 5, 16, 0) 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(40px);
}

.abstract-shape {
    position: relative;
    width: 380px;
    height: 380px;
    perspective: 1000px;
}

.shape {
    position: absolute;
    border-radius: 30px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.s1 {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    transform: rotate(12deg);
    z-index: 1;
}

.s2 {
    width: 75%;
    height: 75%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.02));
    top: -30px;
    right: -30px;
    z-index: 0;
    animation: float 7s ease-in-out infinite;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.s3 {
    width: 65%;
    height: 65%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.02));
    bottom: -40px;
    left: -40px;
    z-index: 2;
    animation: float 9s ease-in-out infinite reverse;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* About Grid Redesign */
/* About Grid Redesign */
.about-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
    position: relative;
    z-index: 2;
}

/* About Visual Background */
.about-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.about-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.as-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.as-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.about-text {
    position: sticky;
    top: 120px;
    z-index: 2;
    padding: 2.5rem !important;
    /* Visual emphasis */
    min-height: 480px;
    /* Maintain height after removing stats */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center text vertically if helpful, or keep top */
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Stats Row */
.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}



/* Features Grid (replacing list) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card h4 {
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Services / Expertise */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    /* Subtle border */
    border-radius: 20px;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* For glow effect */
}

.service-item:hover {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.01);
}

.service-item h3 {
    margin-bottom: 0.5rem;
}

.service-item i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    opacity: 0.8;
    transition: var(--transition-smooth);
    order: -1;
    margin-bottom: 1.5rem;
}

.service-item:hover i {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--accent-primary));
}

/* Portfolio Hover Effects */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
}

.portfolio-item {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
}

.portfolio-item i {
    font-size: 3rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.4s ease;
}

.portfolio-item:hover i {
    transform: scale(1.1);
}

/* Pricing Enhancements */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    /* Changed from center */
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    gap: 0.5rem;
    overflow: visible;
    /* Ensure content popping out is visible */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
    border: 1px solid transparent;
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(135deg, #3b82f6, #8b5cf6) border-box;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.1);
    padding-top: 3rem;
    /* Extra space for floating tag */
}

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

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 0.5rem 0 0;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -2px;
    line-height: 1;
}

.period {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.plan-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    font-weight: 500;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-features {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 0.75rem;
    flex-grow: 1;
    align-content: space-between;
}

.plan-features li {
    margin-bottom: 0.4rem;
    display: flex;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.25;
}

/* Ensure note spans full width if needed, or keep in grid */
.plan-features li.small-note {
    grid-column: span 2;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.plan-features li i {
    color: var(--accent-primary);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    /* Align with text top */
    font-size: 1rem;
}

.pricing-card.featured .plan-features li i {
    color: #fff;
    /* Keeps checkmarks white in featured card */
}

/* Featured Card Text Colors */
.pricing-card.featured h3 {
    color: #ffffff;
    font-weight: 600;
}

.pricing-card.featured .plan-desc {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card.featured .period {
    color: rgba(255, 255, 255, 0.8);
}

.featured-tag {
    position: absolute;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    top: -15px;
    /* Move up to sit on border */
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    /* Reset right positioning */
    border-radius: 30px;
    /* Pill shape */
    padding: 0.35rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    z-index: 2;
    width: max-content;
    color: #fff;
    /* Tag text always white */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Ensure text inside featured card is readable against gradient */
/* Featured card always has dark background/gradient, so force white text inside */
.pricing-card.featured * {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-card.featured .plan-features li i {
    color: #fff;
    /* White checkmarks for contrast */
}

.pricing-card.featured .period,
.pricing-card.featured .plan-features li {
    color: rgba(255, 255, 255, 0.9);
}



/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(3rem, 6vw, 6rem);
    padding: clamp(2rem, 4vw, 4rem);
}

.contact-details {
    /* Resetting from previous center alignment */
    display: block;
    width: auto;
}

.contact-row {
    width: auto;
    max-width: none;
    justify-content: flex-start;
}

.contact-row {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.contact-row:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.contact-row i {
    font-size: 1.4rem;
    color: var(--accent-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Ensure options in select dropdown are readable on dark bg */
.form-group select option {
    background-color: var(--bg-color);
    color: var(--text-primary);
    padding: 10px;
}

.contact-form button {
    width: 100%;
    margin-top: 0.5rem;
}


/* Form Status Messages */
.success-message {
    color: #4ade80;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.error-message {
    color: #f87171;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
    background: #02020a;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-column p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations Keyframes */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }

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

/* Responsive */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        /* Stack features on tablet */
    }

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

    .about-text {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {

    /* Compact Mobile Headers */
    h1 {
        font-size: 2.5rem;
        /* Reduced from clamp default */
        line-height: 1.1;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 0;
        /* Compact spacing */
    }

    .container {
        padding: 0 1.25rem;
        /* More horizontal space for content */
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 1.5rem;
    }

    .contact-form {
        width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-row {
        justify-content: center;
        width: 100%;
    }

    .about-text {
        padding: 1.5rem !important;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 4rem;
        /* More spacing as requested */
        padding: 2rem 1.5rem;
    }

    .contact-content p {
        margin-bottom: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-column p {
        margin: 0 auto 1rem;
    }

    .social-links {
        justify-content: center;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        /* Solid background for premium feel */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        z-index: 999;
        /* Below toggle */
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        transform: translateY(-100%);
        padding: 0;
        /* Strict centering, no padding */
        opacity: 0;
        visibility: hidden;
    }

    .nav-links::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 70%);
        z-index: -1;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Premium Menu Typography */
    .nav-links a:not(.btn-primary) {
        font-family: var(--font-heading);
        font-size: 3rem;
        font-weight: 700;
        color: var(--text-primary);
        text-decoration: none;
        text-decoration: none;
        position: relative;
        padding: 0;
        width: 100%;
        /* Full width to ensure centering */
        border: none;
        max-width: none;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease;
        display: flex;
        justify-content: center;
    }

    /* Staggered Animation for Links */
    .nav-links.active a:not(.btn-primary) {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.4s;
    }

    /* Hover Effect */
    .nav-links a:not(.btn-primary):hover {
        background: none;
        padding-left: 0;
        color: transparent;
        -webkit-text-stroke: 1px var(--text-primary);
        transform: scale(1.1) !important;
    }

    .nav-links .btn-primary {
        margin-top: 2rem;
        width: auto;
        min-width: 200px;
        font-size: 1.2rem;
        padding: 1.2rem 3rem;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease 0.5s;
        /* Delayed */
    }

    .nav-links.active .btn-primary {
        opacity: 1;
        transform: translateY(0);
    }

    /* Hero Mobile - Optimized */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .badge {
        margin-bottom: 1rem;
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .hero-text {
        order: 1;
        /* Text first */
    }

    .hero-visual {
        order: 2;
    }

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


}

@media (max-width: 480px) {
    .pricing-card {
        padding: 1.5rem;
    }

    /* Ensure tag has space on mobile stack */
    .pricing-card.featured {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .plan-features {
        grid-template-columns: 1fr;
        /* Stack features on mobile */
    }

    .plan-features li.small-note {
        grid-column: span 1;
    }
}

/* Technologies Section */
.tech-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 1rem 0;
}

.tech-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 20s linear infinite;
    padding: 1rem 0;
}

.tech-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    width: 160px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.03);
}

.tech-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.3s;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.tech-item:hover i {
    transform: scale(1.1);
}