:root {
    --primary: #ff6b6b;
    --primary-grad: linear-gradient(135deg, #ff8e7a 0%, #f44369 100%);
    --glow-grad: radial-gradient(circle at center, rgba(255, 142, 122, 0.15) 0%, rgba(244, 67, 105, 0) 70%);
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fdfbfb;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Glows */
.bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: var(--glow-grad);
    top: -200px;
    right: -200px;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--glow-grad);
    bottom: 10%;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 8%;
    z-index: 100;
    background: rgba(253, 251, 251, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
} */

.schadv_pic {
  max-width: clamp(28px, 5vw, 46px);
  height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav_logo {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  margin-right: calc(4cm + clamp(10rem, 15vw, 24rem));
  flex: 0 1 auto;
}
nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.schadv_text{
    font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 502;
  font-style: normal;
  letter-spacing: 1px;
  font-size: 1.4rem;
}

nav a:hover {
    color: var(--primary);
}

.btn-demo {
    background: var(--primary-grad);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(244, 67, 105, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-demo:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 105, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 180px 8% 100px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content h1 span {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-hero-cta {
    padding: 0.9rem 2rem;
}

.btn-secondary {
    border: 2px solid rgba(0, 0, 0, 0.05);
    background: var(--white);
    color: var(--text-dark);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Graphic UI Elements */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Set explicit boundaries on the parent div */
    width: 100%;
    max-width: 600px; /* Limits how large it can grow on desktop */
    height: 400px;    /* Constrains the height */
}

/* Target the image directly inside it */
.hero-graphic img {
    width: 100%;
    height: 100%;
    
    /* CRITICAL: This acts like background-size: cover. 
       It crops the image nicely inside your 600x400 box 
       without squishing, stretching, or distorting it. */
    object-fit: cover; 
    
    border-radius: 16px; /* Looks beautiful on modern UI */
}

.main-dashboard-preview {
    width: 100%;
    max-width: 500px;
    height: 380px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


/* Universal Section Structuring */
.sections {
    padding: 100px 8%;
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--text-light);
}

/* Features Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    

}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    backdrop-filter: blur(8px);
    max-height: 400px;
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(244, 67, 105, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(244, 67, 105, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Pricing Layout */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
}

.pricing-card.popular {
    background: var(--white);
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(244, 67, 105, 0.08);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-grad);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.btn-full-width {
    display: block; 
    width: 100%;
}

.btn-no-decor {
    text-decoration: none;
}

/* About Us Layout */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.stat-box h4 {
    font-size: 2.5rem;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.text-stat-label {
    color: var(--text-light); 
    font-weight: 500;
}

/* Bottom Call To Action */
.section-cta {
    text-align: center; 
    background: rgba(244, 67, 105, 0.02); 
    border-radius: 40px; 
    margin: 0 8% 100px; 
    padding: 5rem 2rem;
}

.section-cta h2 {
    font-size: 2.5rem; 
    margin-bottom: 1rem;
}

.cta-desc {
    max-width: 600px; 
    margin: 0 auto 2.5rem; 
    line-height: 1.6;
}

.btn-cta-launch {
    padding: 1rem 2.5rem; 
    font-size: 1.05rem; 
    text-decoration: none;
}

/* Footer Section */
footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 4rem 8% 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Responsive Breakpoints Engine */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        gap: 2rem;
    }
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .features-grid, .pricing-grid, .about-content {
        grid-template-columns: 1fr;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .nav_logo {
        margin-right: 0; /* Removes the heavy spacing on mobile */
    }

    .menu-toggle {
        display: block; /* Show the hamburger icon */
    }

    nav {
        display: none; /* Hide the menu by default on small screens */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(253, 251, 251, 0.95);
        backdrop-filter: blur(12px);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Class to toggle visibility via JavaScript */
    nav.active {
        display: flex;
    }
}
