* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #a855f7;
    --blue: #3b82f6;
    --indigo: #6366f1;
    --dark-bg: #020617;
    --light-bg: #f6f7f9;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    transition: background-color 0.3s, color 0.2s;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container {
    width: min(1200px, 100% - 2.5rem);
    margin: 0 auto;
}

section { padding: 85px 0; }

/* ---------- DARK / LIGHT VARIABLES ---------- */
body.theme-dark {
    background: radial-gradient(ellipse at 20% 30%, #0f172a, #020617);
    color: #f1f5f9;
}
body.theme-light {
    background: #f0f2f5;
    color: #0b1120;
}
body.theme-dark .card,
body.theme-dark .pricing-card,
body.theme-dark .feature-card,
body.theme-dark .contact-card,
body.theme-dark .testimonial-card {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}
body.theme-light .card,
body.theme-light .pricing-card,
body.theme-light .feature-card,
body.theme-light .contact-card,
body.theme-light .testimonial-card {
    background: #ffffffdd;
    backdrop-filter: blur(4px);
    border-color: #e2e8f0;
    color: #1e293b;
}

/* topbar */
.topbar {
    background: linear-gradient(90deg, #2d1b4e, #1e3a5f);
    color: #f8fafc;
    font-size: 0.85rem;
    padding: 0.5rem 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.topbar i { margin-right: 6px; opacity: 0.9; }

@media (max-width: 640px) {
    .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    }
}

/* header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
body.theme-dark header {
    background: rgba(2, 6, 23, 0.8);
    border-bottom-color: #1e293b;
}
body.theme-light header {
    background: rgba(255, 255, 255, 0.75);
    border-bottom-color: #cbd5e1;
}
header.scrolled {
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.4);
}

.nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-wrap img {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    filter: drop-shadow(0 8px 18px #a855f780);
    object-fit: cover;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: conic-gradient(from 210deg, #a855f7, #3b82f6, #22d3ee, #a855f7);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    filter: drop-shadow(0 8px 18px #a855f780);
}
.logo-text {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-size: 1rem;
}
.logo-text small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.3px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
}
.nav-links a {
    position: relative;
    padding: 0 2px 6px;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--purple), var(--blue));
    border-radius: 2px;
    transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: white;
    box-shadow: 0 18px 30px -12px #1e3a8a;
}
.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 35px -10px #3730a3;
}
.btn-outline {
    border-color: #94a3b8;
    background: transparent;
}
body.theme-dark .btn-outline { color: #f1f5f9; border-color: #475569; }
.btn-outline:hover {
    background: #ffffff15;
    border-color: #a78bfa;
}
.theme-toggle {
    padding: 0.65rem 1rem;
}

/* mobile menu */
.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: inherit;
    backdrop-filter: blur(20px);
    z-index: 2000;
    padding: 2rem 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    border-left: 1px solid rgba(148, 163, 184, 0.3);
    overflow-y: auto;
}

body.theme-dark .mobile-menu {
    background: rgba(2, 6, 23, 0.98);
}

body.theme-light .mobile-menu {
    background: rgba(255, 255, 255, 0.98);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.mobile-menu-close {
    font-size: 2rem;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.mobile-nav-links a {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.mobile-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* hero */
.hero {
    padding-top: 40px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
}
.hero-badge {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid #8b5cf6;
    border-radius: 60px;
    padding: 0.3rem 1rem;
    display: inline-block;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.hero-gradient {
    background: linear-gradient(145deg, #c084fc, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-text {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 85%;
    margin-bottom: 2rem;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.2rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}
.hero-stats i { color: #8b5cf6; margin-right: 5px; }

/* hero visual / card */
.hero-visual {
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-xl);
    padding: 1.2rem;
    backdrop-filter: blur(2px);
}
.hosting-card {
    border-radius: 28px;
    padding: 1.8rem 1.5rem;
    border: 1px solid #334155;
    background: radial-gradient(ellipse at top left, #1e1b4b, #0f172a);
    box-shadow: 0 40px 50px -25px #000;
    transition: transform 0.25s;
}
body.theme-light .hosting-card {
    background: white;
    border-color: #d1d5db;
}
.hosting-card:hover { transform: translateY(-6px); }
.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.badge-live {
    background: #0f172a;
    border: 1px solid #a78bfa;
    border-radius: 60px;
    padding: 0.2rem 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #f1f5f9; /* Add this - light text for dark mode */
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.4rem 0;
}
.feature-item {
    background: #0b1120cc;
    padding: 0.7rem;
    border-radius: 20px;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}
body.theme-light .feature-item { background: #f1f4f9; }
.feature-item i { color: #38bdf8; margin-right: 5px; }

/* highlight cards */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.8rem;
    margin-top: 1.5rem;
}
.highlight-card {
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.2rem;
    border: 1px solid;
    transition: 0.2s;
}
.highlight-card i { font-size: 2rem; background: linear-gradient(145deg, #c084fc, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; }

/* Fix for dark text on light mode - add this to your style.css */

/* Service chips in light mode */
body.theme-light .service-chip {
    background: #e2e8f0;
    color: #1e293b;
    border-color: #cbd5e1;
}

/* Badge live in light mode */
body.theme-light .badge-live {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Feature items in light mode - text fix */
body.theme-light .feature-item {
    background: #f8fafc;
    color: #1e293b;
}

/* Hero badge in light mode */
body.theme-light .hero-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #4b5563;
}

/* Plan card labels in light mode */
body.theme-light .img-label {
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    border-color: #94a3b8;
}

/* Card header text in light mode */
body.theme-light .card-header span {
    color: #334155;
}

/* Stats text in light mode */
body.theme-light .hero-stats div {
    color: #1e293b;
}

/* Additional fix for any text with opacity in light mode */
body.theme-light .hero-text,
body.theme-light .section-heading + p,
body.theme-light .about-text {
    color: #334155;
    opacity: 1;
}

/* Fix for the hosting card text in light mode */
body.theme-light .hosting-card h3 {
    color: #0f172a;
}

body.theme-light .hosting-card .feature-item {
    color: #1e293b;
}

body.theme-light .hosting-card .feature-item i {
    color: #2563eb;
}

/* Fix for the feature grid check circles */
body.theme-light .hosting-card div[style*="color:#94a3b8"] span {
    color: #475569 !important;
}

/* services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.5rem;
}
.service-card {
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.2rem;
    border: 1px solid;
    transition: var(--transition);
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(2px);
}
.service-card:hover {
    border-color: #a78bfa;
    transform: translateY(-8px);
}
.service-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.service-chip {
    background: #1e293b;
    border-radius: 40px;
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
    display: inline-block;
    margin-right: 0.3rem;
    margin-top: 0.7rem;
    border: 1px solid #475569;
    color: #e2e8f0; /* Add this - light text for dark mode */
}
/* portfolio / plans with images (modern mockup placeholders) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}
.plan-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid;
    transition: 0.2s;
    background: #0f172a;
}
body.theme-light .plan-card { background: white; }
.plan-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 8px black;
    position: relative;
}
.img-label {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    border: 1px solid white;
}
.plan-body { padding: 1.2rem; }

/* Web design section mobile fix */
.web-design-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1000px) {
    .web-design-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    #web-design .web-design-grid {
        grid-template-columns: 1fr;
    }

    #web-design .plan-body > div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    #web-design .plan-body h3 {
        font-size: 1.45rem !important;
        line-height: 1.2;
    }

    #web-design .service-chip {
        font-size: 0.72rem;
    }

    #web-design .plan-img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    #web-design {
        padding: 60px 0 !important;
    }

    #web-design .plan-card {
        border-radius: 20px;
    }

    #web-design .plan-body {
        padding: 1rem;
    }

    #web-design .btn {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }
}

/* testimonial / about with image */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.about-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 40px -15px var(--purple);
    border: 2px solid #8b5cf6;
}
.founder-card {
    border-radius: 24px;
    padding: 1.6rem;
    border: 1px solid;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.founder-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.founder-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6b21a5, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* CTA */
.cta-block {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 40px;
    padding: 2.8rem 3rem;
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 720px) {
    .cta-block {
    padding: 2rem 1.5rem;
    flex-direction: column;
    text-align: center;
    }
}

/* contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.contact-detail-card {
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid;
}
.contact-row {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    align-items: center;
    word-break: break-word;
}

footer {
    padding: 2rem 0;
    border-top: 1px solid #1e293b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* responsiveness */
@media (max-width: 1000px) {
    .service-grid, .portfolio-grid, .highlights-grid { grid-template-columns: repeat(2,1fr); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-text { max-width: 100%; }
}

@media (max-width: 720px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .service-grid, .portfolio-grid, .highlights-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    
    .hero-stats {
    gap: 1rem;
    flex-direction: column;
    }
    
    .about-image {
    order: 2;
    }
    
    .founder-card {
    margin-top: 1rem;
    }
    
    section {
    padding: 60px 0;
    }
    
    .hero-title {
    font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
    font-size: 0.9rem;
    }
    
    .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
    }
    
    .container {
     width: calc(100% - 1.5rem);
    }
}