/* =========================================
   VARIABLES & DESIGN SYSTEM
========================================= */
:root {
    /* Colors based on Tech N Go Brand */
    --clr-bg: #0B061A;
    /* Deep dark violet for background */
    --clr-surface: rgba(255, 255, 255, 0.03);
    /* Glassmorphism base */
    --clr-surface-hover: rgba(255, 255, 255, 0.08);
    --clr-border: rgba(255, 255, 255, 0.08);

    --clr-primary: #7A5CFF;
    /* Bright purple */
    --clr-secondary: #4831D4;
    /* Deep blue */
    --clr-gradient: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));

    --clr-text: #F3F4F6;
    --clr-text-muted: #9CA3AF;
    --clr-white: #FFFFFF;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing & Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

/* =========================================
   RESET & BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================
   UTILITIES
========================================= */
.gradient-text {
    background: var(--clr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--clr-gradient);
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(122, 92, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 92, 255, 0.6);
}

.btn-secondary {
    background: var(--clr-surface);
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--clr-surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* =========================================
   NAVIGATION
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(11, 6, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--clr-gradient);
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(122, 92, 255, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--clr-text-muted);
}

.nav-link:hover {
    color: var(--clr-white);
}

.btn-contact {
    padding: 0.5rem 1.2rem;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    color: var(--clr-text);
}

.btn-contact:hover {
    background: var(--clr-gradient);
    color: white;
    border-color: transparent;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--clr-white);
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 3px;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--clr-secondary);
}

.glow-2 {
    bottom: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--clr-primary);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--clr-primary);
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

/* =========================================
   SERVICES SECTION
========================================= */
.services {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(122, 92, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(122, 92, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: var(--clr-gradient);
    border-color: transparent;
}

.service-icon {
    font-size: 1.8rem;
    color: var(--clr-primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--clr-white);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--clr-text);
}

.service-features i {
    color: var(--clr-primary);
    font-size: 0.8rem;
}

/* =========================================
   CONTACT SECTION (Business Card Look)
========================================= */
.contact-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Subtle glow behind the card */
.contact-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(122, 92, 255, 0.05), transparent 60%);
    z-index: -1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-info-col {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--clr-text-muted);
}

.contact-divider {
    height: 3px;
    width: 40px;
    background: var(--clr-gradient);
    margin-top: 1.5rem;
    border-radius: 2px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--clr-text);
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--clr-primary);
    transform: translateX(5px);
}

.c-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(122, 92, 255, 0.1);
    border-radius: 50%;
    color: var(--clr-primary);
}

.contact-logo-col {
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px dashed rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(122, 92, 255, 0.05), rgba(72, 49, 212, 0.05));
}

.big-logo-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-box {
    width: 100px;
    height: 100px;
    background: var(--clr-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(122, 92, 255, 0.4);
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.brand-name span {
    color: var(--clr-primary);
}

.brand-owner {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--clr-text-muted);
}

.mt-6 {
    margin-top: 2.5rem;
}

/* =========================================
   FOOTER
========================================= */
footer {
    border-top: 1px solid var(--clr-border);
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-logo span {
    color: var(--clr-primary);
}

.copyright {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-logo-col {
        border-left: none;
        border-top: 1px dashed rgba(255, 255, 255, 0.1);
        padding: 3rem 2rem;
    }

    .contact-info-col {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(11, 6, 26, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* =========================================
   LEGAL PAGES & LOGO OVERRIDES
========================================= */
.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.contact-logo-img {
    width: 120px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.footer-links a:hover {
    color: var(--clr-primary);
}

/* Legal Pages Content Formatting */
.legal-section {
    padding: 8rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    background: var(--clr-surface);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--clr-border);
    margin-top: 6rem;
    margin-bottom: 4rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h3 {
    color: var(--clr-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.legal-content p,
.legal-content ul {
    color: var(--clr-text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

/* =========================================
   ALIGNMENT OVERRIDES
========================================= */
.pricing-card,
.testimonial-card {
    text-align: center;
}

/* =========================================
   FLOATING ACTION BUTTONS (FAB)
========================================= */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.fab:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp {
    background-color: #25D366;
}

.whatsapp:hover {
    background-color: #20BA56;
}

.back-to-top {
    background: var(--clr-surface);
    color: var(--clr-primary);
    border: 1px solid var(--clr-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--clr-primary);
    color: white;
}