/* ========================================
   LanyGen AI - Futuristic Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --neon-blue: #00d4ff;
    --neon-purple: #7c3aed;
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    z-index: -2;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* Floating 3D Shapes */
.shapes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

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

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    top: 50%;
    right: -5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    bottom: 10%;
    left: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    top: 30%;
    left: 50%;
    animation-delay: -15s;
}

.shape-5 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    bottom: -10%;
    right: 20%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg) scale(1.05);
    }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: var(--primary-gradient);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

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

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

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--primary-gradient);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

.hero-logo {
    position: relative;
    width: clamp(200px, 50vw, 800px);
    height: clamp(200px, 50vw, 800px);
    object-fit: contain;
    animation: logoFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(124, 58, 237, 0.7));
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.8;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
    opacity: 0.3;
}

.hero-sphere {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-gradient);
    filter: blur(40px);
    animation: sphereFloat 8s ease-in-out infinite;
}

.hero-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

@keyframes sphereFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

/* Services Section */
.services {
    position: relative;
}

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

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.4s var(--transition-smooth);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--neon-blue);
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 6px 0;
}

.service-features li::before {
    content: '✓';
    color: var(--neon-green);
    font-weight: bold;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05), transparent);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.why-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s var(--transition-smooth);
}

.why-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
    position: relative;
}

.step-number {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    margin-bottom: 24px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.step-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-gradient);
    filter: blur(20px);
    opacity: 0.3;
    animation: stepPulse 2s ease-in-out infinite;
}

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

.step-content h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.3), transparent);
}

.step:last-child .step-connector {
    display: none;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 64px 32px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.2); }
}

.cta-card h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 12px;
    position: relative;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
}

.cta-card .btn {
    position: relative;
}

/* Contact Section */
.contact {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(124, 58, 237, 0.3);
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--neon-blue);
    flex-shrink: 0;
}

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

.contact-card h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-card a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--neon-blue);
}

.contact-mission {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-top: 16px;
}

.contact-mission h4 {
    font-size: 1rem;
    color: var(--neon-purple);
    margin-bottom: 12px;
}

.contact-mission p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(124, 58, 237, 0.5);
    background: var(--bg-card-hover);
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
    background: rgba(10, 10, 15, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

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

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--bg-card-hover);
    border-color: rgba(124, 58, 237, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Navbar mobile */
    .nav-container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 20px 16px;
        gap: 12px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 0.9rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

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

    .btn-nav {
        display: none;
    }

    /* Hero section mobile */
    .hero {
        padding: 100px 16px 60px;
        min-height: auto;
    }

    .hero-logo-container {
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 5vw, 3.5rem);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
        justify-content: center;
    }

    .tagline {
        font-size: 0.95rem;
    }

    /* Section padding */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    }

    /* Services and grid layouts */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

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

    .service-card p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        padding: 24px 20px;
    }

    .why-card h3 {
        font-size: 1.1rem;
    }

    /* Steps */
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 0 16px;
    }

    .step {
        max-width: 100%;
        width: 100%;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 18px;
    }

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

    /* CTA */
    .cta-card {
        padding: 48px 24px;
        border-radius: 24px;
    }

    .cta-card h2 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        margin-bottom: 10px;
    }

    .cta-card p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    /* Contact section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }

    .contact-info {
        gap: 16px;
    }

    .contact-card {
        padding: 20px;
        gap: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-card h4 {
        font-size: 0.85rem;
    }

    .contact-card a {
        font-size: 0.95rem;
    }

    /* Contact Form */
    .contact-form-container {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .form-group {
        gap: 6px;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 10px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .contact-form {
        gap: 20px;
    }

    /* Footer */
    .footer {
        padding: 48px 0 24px;
    }

    .container {
        padding: 0 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        margin-bottom: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
        justify-content: center;
    }

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

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
    }

    .footer-social svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        padding-top: 24px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Extra small devices (phones) */
@media (max-width: 480px) {
    html {
        scroll-padding-top: 60px;
    }

    /* Navbar */
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 12px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        padding: 6px;
    }

    /* Hero */
    .hero {
        padding: 80px 12px 40px;
    }

    .hero-logo-container {
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
        margin-bottom: 24px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        gap: 6px;
    }

    .btn-icon {
        width: 16px;
        height: 16px;
    }

    .tagline {
        font-size: 0.85rem;
    }

    /* Sections */
    section {
        padding: 40px 0;
    }

    .container {
        padding: 0 12px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: clamp(1.25rem, 3vw, 2rem);
    }

    /* Service cards */
    .service-card {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-features li {
        font-size: 0.85rem;
        padding: 4px 0;
    }

    /* Why cards */
    .why-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .why-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .why-card h3 {
        font-size: 1rem;
    }

    .why-card p {
        font-size: 0.9rem;
    }

    /* Steps */
    .steps-container {
        gap: 24px;
        padding: 0 12px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 14px;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    /* CTA */
    .cta-card {
        padding: 40px 20px;
        border-radius: 20px;
        margin: 0 12px;
    }

    .cta-card h2 {
        font-size: clamp(1.25rem, 2.2vw, 1.75rem);
        margin-bottom: 8px;
    }

    .cta-card p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    /* Contact */
    .contact-grid {
        padding: 0 12px;
        gap: 24px;
    }

    .contact-card {
        padding: 16px;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
    }

    .contact-card h4 {
        font-size: 0.8rem;
    }

    .contact-card a {
        font-size: 0.9rem;
    }

    .contact-mission {
        padding: 16px;
        border-radius: 12px;
        margin-top: 12px;
    }

    .contact-mission h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .contact-mission p {
        font-size: 0.9rem;
    }

    /* Form */
    .contact-form-container {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .contact-form {
        gap: 16px;
    }

    .form-group {
        gap: 6px;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 10px;
        font-size: 16px;
        border-radius: 8px;
    }

    .form-group textarea {
        min-height: 90px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 16px;
    }

    .footer-logo {
        font-size: 1.1rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .footer-social svg {
        width: 16px;
        height: 16px;
    }

    .footer-bottom {
        padding-top: 16px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* Reduce animation intensity on mobile for better performance */
    .shape {
        animation-duration: 25s;
        filter: blur(80px);
        opacity: 0.3;
    }

    @keyframes float {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg) scale(1);
        }
        25% {
            transform: translate(15px, -15px) rotate(90deg) scale(1.05);
        }
        50% {
            transform: translate(-10px, 10px) rotate(180deg) scale(0.95);
        }
        75% {
            transform: translate(10px, 15px) rotate(270deg) scale(1.02);
        }
    }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 16px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 12px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    section {
        padding: 40px 0;
    }
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tilt Effect for Cards */
.tilt-effect {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-effect .card-content {
    transform: translateZ(20px);
}
