/* V2 Premium Marketing Styles for KSI Consulting */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-darker: #050505;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(15, 15, 15, 0.6);
    --bg-accent: #141414;

    --primary: #059669;
    /* Emerald 600 */
    --primary-bright: #34D399;
    /* Emerald 400 */
    --primary-glow: rgba(5, 150, 105, 0.3);

    --secondary: #10B981;
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-dim: #6B7280;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --glass-bg: rgba(5, 5, 5, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius-lg: 24px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 1) 70%), url('logo.png');
    background-size: 45%;
    background-position: center var(--bg-parallax-y, 50%);
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

/* Background Atmosphere */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    filter: blur(100px);
}

.glow-2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, transparent 70%);
    filter: blur(80px);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-bright), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

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

.section {
    padding: 120px 0;
    position: relative;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 24px 0;
    display: block;
    /* Change from flex to block */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid var(--glass-border);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    z-index: 1001;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (min-width: 901px) {
    .nav-links {
        display: flex;
        gap: 48px;
        align-items: center;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(20px);
        z-index: 999;
    }

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

    .nav-links a {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
    margin-right: 40px;
    /* Force minimum distance */
}

.logo img {
    height: 42px;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    background: var(--primary-bright);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    color: var(--primary-bright);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.hero-visual {
    position: relative;
}

.premium-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    z-index: 10;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--text-main);
}

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

/* Trust Bar */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin: 60px 0;
    text-align: center;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    opacity: 0.5;
    filter: grayscale(1);
    flex-wrap: wrap;
}

/* Pain/Solution Section */
.pain-box {
    background: rgba(239, 68, 68, 0.05);
    /* Red hint */
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.solution-box {
    background: rgba(16, 185, 129, 0.05);
    /* Green hint */
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    padding: 24px;
}

/* Grid Layouts */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(20, 20, 20, 0.9);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
}

.service-card ul {
    list-style: none;
    margin-top: 24px;
}

.service-card li {
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.service-card li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

/* Team Component */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.founder-card {
    display: flex;
    gap: 32px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.founder-info h3 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: inherit;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

@media (max-width: 480px) {
    .floating-cta {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

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

.footer-col li {
    margin-bottom: 12px;
}

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

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.social-icon i {
    width: 18px;
    height: 18px;
}