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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* scrolling set on html for consistency */
}

/* Removed global 3D transform-style to avoid layout/perf issues */

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-item:first-child {
    margin-left: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #2563eb;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #fbbf24;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    font-size: 1rem;
    min-height: 48px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: #fbbf24;
    color: #333;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float3D 6s ease-in-out infinite;
    transform: perspective(1000px) rotateY(0deg);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.hero-graphic:hover {
    animation-play-state: paused;
    transform: perspective(1000px) rotateY(15deg) rotateX(10deg) scale(1.1);
    transition: transform 0.5s ease;
}

.hero-graphic i {
    font-size: 4rem;
    color: #fbbf24;
}

/* Hero illustration image sizing */
.hero-graphic img.hero-illustration {
    width: 65%;
    height: auto;
    display: block;
}

/* Hero photo fill */
.hero-graphic img.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.hero-graphic img.kenburns {
    animation: kenburns 18s ease-in-out infinite alternate;
    transform-origin: 55% 45%;
}

@keyframes kenburns {
    from { transform: scale(1.05) translateX(-2%) translateY(-1%); }
    to   { transform: scale(1.14) translateX(2%) translateY(1%); }
}

/* Subtle gradient overlay to boost contrast */
.hero-graphic::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,0.15), transparent 55%),
                linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0));
    pointer-events: none;
    z-index: 3;
}

/* Spotlight glow layer */
.hero-graphic::before {
    content: '';
    position: absolute;
    inset: -15%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    filter: blur(28px);
    opacity: 0.55;
    mix-blend-mode: screen;
    background: radial-gradient(
        340px 340px at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(255,255,255,0.28) 0%,
        rgba(255,255,255,0.16) 28%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.0) 70%
    );
    transition: opacity 0.3s ease;
}

@keyframes float3D {
    0%, 100% {
        transform: perspective(1000px) translateY(0px) rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: perspective(1000px) translateY(-10px) rotateY(5deg) rotateX(2deg);
    }
    50% {
        transform: perspective(1000px) translateY(-20px) rotateY(0deg) rotateX(5deg);
    }
    75% {
        transform: perspective(1000px) translateY(-10px) rotateY(-5deg) rotateX(2deg);
    }
}

/* Advanced Animation Classes */
.img-bob {
    animation: float3D 7s ease-in-out infinite;
}
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) rotateX(0) !important;
}

.fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px) rotateY(-30deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px) rotateY(30deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

/* Parallax Container */
.parallax-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* 3D Hover Effects */
.card-3d {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg) translateZ(20px);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Force 2-up layout for services on tablet/desktop to avoid 3-1 wrapping */
@media screen and (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transform: translateY(0) rotateX(0) rotateY(0);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Service thumbnail image */
.service-card .service-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

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

.service-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.8rem auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: transform 0.6s;
    transform: translateX(-100%) translateY(-100%);
}

.service-card:hover .service-icon::before {
    transform: translateX(100%) translateY(100%);
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
    z-index: 1;
    position: relative;
}

.service-card:hover .service-icon {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

/* Service Details */
.service-details {
    margin-top: 1.5rem;
}

.service-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.5rem 0 0.75rem 0;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.service-details h4:first-child {
    margin-top: 1rem;
    padding-top: 1rem;
}

.service-details ul {
    margin-bottom: 1rem;
}

.service-details ul li strong {
    color: #2563eb;
    font-weight: 600;
}

.timeline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
}

.timeline i {
    color: #2563eb;
    font-size: 0.9rem;
}

.timeline span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.18);
    border-color: rgba(37, 99, 235, 0.3);
}

.pricing-card.featured {
    border: 3px solid #2563eb;
    transform: scale(1.04);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
    z-index: 2;
}

.pricing-card.featured::before {
    height: 6px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    opacity: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.06) translateY(-10px);
    box-shadow: 0 28px 55px rgba(37, 99, 235, 0.4);
}

.pricing-card.premium {
    border: 2px solid #fbbf24;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.pricing-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.pricing-badge::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 50px;
    pointer-events: none;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #1e293b;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.pricing-card.featured .pricing-header h3 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: #2563eb;
    margin-bottom: 0.75rem;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.pricing-card.featured .price {
    color: #fbbf24;
    text-shadow: 0 2px 15px rgba(251, 191, 36, 0.3);
}

.pricing-card.premium .price {
    color: #f59e0b;
}

.price span {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 500;
}

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

.price-desc {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

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

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    padding-left: 2.5rem;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

.pricing-features li:hover {
    color: #2563eb;
    padding-left: 3rem;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
}

.pricing-card.featured .pricing-features li:hover {
    color: white;
    padding-left: 3rem;
}

.pricing-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pricing-features li:hover:before {
    background: #10b981;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.pricing-card.featured .pricing-features li:before {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.2);
}

.pricing-card.featured .pricing-features li:hover:before {
    background: #fbbf24;
    color: #333;
}

.btn-outline {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 180px;
}

.btn-outline::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;
}

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

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.pricing-card.featured .btn-outline {
    background: #fbbf24;
    border-color: #fbbf24;
    color: #333;
}

.pricing-card.featured .btn-outline:hover {
    background: white;
    color: #2563eb;
    border-color: white;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Add-ons Section */
.add-ons {
    margin: 4rem 0;
    text-align: center;
}

.add-ons h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.add-ons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.add-on-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.add-on-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.add-on-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.add-on-item p {
    color: #2563eb;
    font-weight: 600;
}

/* Hosting & Care Section */
.hosting-care {
    margin: 4rem 0;
    text-align: center;
}

.hosting-care h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.care-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.care-plan {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.care-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.care-plan.featured {
    border-color: #2563eb;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.care-plan h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.care-plan.featured h4 {
    color: white;
}

.care-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.care-plan.featured .care-price {
    color: #fbbf24;
}

.care-plan p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.care-plan.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.care-plan ul {
    list-style: none;
    text-align: left;
}

.care-plan ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #374151;
}

.care-plan.featured ul li {
    color: rgba(255, 255, 255, 0.9);
}

.care-plan ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.care-plan.featured ul li:before {
    color: #fbbf24;
}

/* Pricing Notes */
.pricing-notes {
    margin-top: 3rem;
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-notes p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: #10b981;
    font-size: 1.25rem;
}

.feature span {
    font-weight: 500;
    color: #374151;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fafc;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.25rem;
}

.contact-item .phone-number {
    display: inline-block;
    margin-top: 0.25rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.contact-item .phone-number:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.contact-item h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #64748b;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Action pills under phone */
.contact-actions { display: flex; gap: 0.6rem; margin-top: 0.5rem; flex-wrap: wrap; }
.contact-actions .action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
}
.contact-actions .action:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.contact-actions .action.call { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.contact-actions .action.whatsapp { color: #065f46; background: #ecfdf5; border-color: #a7f3d0; }
.contact-actions .action.sms { color: #334155; background: #f1f5f9; border-color: #e2e8f0; }

/* Action pills responsive behavior */
@media screen and (max-width: 768px) {
    .contact-actions { gap: 0.5rem; }
    .contact-actions .action { flex: 1 1 auto; justify-content: center; }
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

/* Two-column form layout on tablets/desktops */
@media screen and (min-width: 768px) {
    .contact-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.5rem;
    }
    .contact-form .form-group { margin-bottom: 0; }
    .contact-form .form-name { grid-column: 1; }
    .contact-form .form-email { grid-column: 2; }
    .contact-form .form-service { grid-column: 1; }
    .contact-form .form-business { grid-column: 2; }
    .contact-form .form-message { grid-column: 1 / -1; }
    .contact-form button[type="submit"] { grid-column: 1 / -1; justify-self: start; }
}

/* Honeypot safety */
.contact-form .honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 50px 0 30px;
}

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

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-logo-img:hover {
    transform: scale(1.08) translateY(-3px);
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2563eb;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-item {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

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

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

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

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

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

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

    .logo-img {
        height: 30px;
        max-width: 100px;
    }

    .footer-logo-img {
        height: 35px;
        max-width: 120px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .about-stats {
        flex-direction: column;
    }

    .logo-img {
        height: 25px;
        max-width: 80px;
    }

    .footer-logo-img {
        height: 30px;
        max-width: 100px;
    }

/* Mobile Pricing Enhancements */
    .pricing {
        padding: 80px 0 60px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2.8rem;
    }
    
    .pricing-features li {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
    
    .btn-outline {
        width: 100%;
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .pricing-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.5rem;
    }
}

/* Disable hero bokeh canvas explicitly */
.hero-bokeh { display: none !important; width: 0 !important; height: 0 !important; }

/* Force 2x2 layout for pricing on tablets/desktop */
@media screen and (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
    }
}

/* Hero Stats & Badges */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
    transition: all 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.badge i {
    color: #fbbf24;
}

/* Orbit Rings */
.orbit-ring {
    position: absolute;
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.orbit-ring:first-of-type {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
}

.orbit-ring-2 {
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Service Badge */
.service-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.featured-service {
    border: 2px solid #fbbf24;
    box-shadow: 0 8px 40px rgba(251, 191, 36, 0.2);
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-card p:last-child {
    margin-bottom: 0;
}

/* Why Choose grid layout: 2x2 on tablets, 4 in a row on large screens */
@media screen and (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

.feature-icon i {
    font-size: 1.9rem;
    color: white;
    z-index: 1;
    position: relative;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Business Impact Section */
.business-impact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.impact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.impact-number {
    font-size: 4rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
    display: block;
}

.impact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.growth-levers {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.growth-levers h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

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

.lever {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.lever:hover {
    background: #e2e8f0;
    transform: translateX(10px);
}

.lever i {
    color: #2563eb;
    font-size: 1.5rem;
    min-width: 24px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: white;
}

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

.category-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: white;
    border-color: #2563eb;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotateY(10deg);
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.portfolio-cta {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
}

.portfolio-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.portfolio-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Improved Cursor Styles */
body {
    cursor: default;
}

a, button, .btn, .nav-link, .service-card, .pricing-card, .feature-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Removed conflicting hover styles - using specific card hovers instead */

/* Enhanced Transitions for Mouse Interactions */
.service-card,
.pricing-card,
.feature-card,
.impact-card,
.category-card,
.portfolio-cta {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.service-icon,
.feature-icon,
.category-icon {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.btn {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.hero-graphic {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.orbit-ring {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Perspective Container for 3D Effects */
.services,
.pricing,
.why-choose,
.business-impact,
.portfolio {
    perspective: 1000px;
    /* limit 3D context to sections that need it */
}

/* Enhanced Hover States for Interactive Elements */
@media (min-width: 1025px) {
    .service-card:hover {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    }
    
    .pricing-card:hover {
        border-color: #2563eb;
    }
    
    .feature-card:hover,
    .impact-card:hover,
    .category-card:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    /* Disable hover effects on touch devices */
    .service-card,
    .pricing-card,
    .feature-card,
    .impact-card,
    .category-card {
        transform-style: preserve-3d;
    }
}

/* Performance Optimization */
.service-card,
.pricing-card,
.feature-card,
.impact-card,
.category-card,
.hero-graphic,
.btn {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-graphic,
    .orbit-ring,
    .service-card,
    .pricing-card,
    .feature-card {
        animation: none !important;
        transform: none !important;
    }
    .hero-graphic::before { opacity: 0.35; filter: blur(14px); }
}


/* Login Button in Navigation */
.nav-login {
    margin-left: 2rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(0,0,0,0.1);
}

.nav-login .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* User Button */
.user-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid #2563eb;
    border-radius: 50px;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-button:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.user-button .user-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.user-button .user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.user-button .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* User Menu Dropdown */
.user-menu {
    position: fixed;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    min-width: 200px;
    z-index: 1001;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

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

.user-info {
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.user-info .user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.user-info .user-name {
    font-weight: 600;
    display: block;
}

.user-info .user-role {
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: capitalize;
}

.user-menu-items {
    padding: 0.5rem 0;
}

.user-menu-items a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-menu-items a:hover {
    background: #f8fafc;
    color: #2563eb;
}

.user-menu-items hr {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

/* Modal Styles - Always Center on Screen */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    position: fixed;
}

.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    margin: auto;
    position: relative;
    overflow-y: auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    background: #f8fafc;
    border-radius: 10px;
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: white;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Auth Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #2563eb;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #2563eb;
}

.form-error {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-help {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

/* Custom Checkbox */
.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
}

.checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox input:checked + .checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password,
.terms-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.forgot-password:hover,
.terms-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Auth Submit Button */
.auth-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Auth Success */
.auth-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.auth-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.auth-success p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Mobile Responsive Updates */
@media screen and (max-width: 768px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-stat {
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-badges {
        gap: 1rem;
    }
    
    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .features-grid,
    .impact-grid,
    .portfolio-categories {
        grid-template-columns: 1fr;
    }
    
    .levers-grid {
        grid-template-columns: 1fr;
    }
    
    .lever {
        padding: 1rem;
    }
    
    /* Mobile Auth Styles */
    .nav-login {
        margin-left: 0.5rem;
    }
    
    .nav-login .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .user-button {
        padding: 6px 12px;
        gap: 0.5rem;
    }
    
    .user-button .user-name {
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .auth-tabs {
        margin-bottom: 1.5rem;
    }
    
    .auth-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .impact-number {
        font-size: 3rem;
    }
    
    .portfolio-cta {
        padding: 2rem;
    }
    
    .portfolio-cta h3 {
        font-size: 1.5rem;
    }
.hero-graphic::before {
    content: '';
    position: absolute;
    inset: -15%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    filter: blur(20px);
    opacity: 0.75;
    mix-blend-mode: screen;
/* Ambient bokeh is disabled temporarily to avoid any artifact */
.hero-bokeh { display: none; }
    background: radial-gradient(
        200px 200px at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(255,255,255,0.28) 0%,
        rgba(255,255,255,0.18) 20%,
        rgba(255,255,255,0.05) 40%,
        rgba(255,255,255,0.0) 60%
    );
    transition: opacity 0.3s ease;
}
}
