/* 
  StartNowTech Startup Landing Kit
  Base Stylesheet (Layout, Typography, Animations)
*/

/* Reset & Basic Box Model */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    /* Refined Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    /* Glassmorphism Refined */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;

    /* Subtle mesh gradient background */
    background-image:
        radial-gradient(at 0% 0%, rgba(var(--primary-color-rgb), 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(var(--primary-color-rgb), 0.05) 0px, transparent 50%);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--text-dark) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Utility */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Floating Blobs Background */
.blob-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    animation: floating 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    background: var(--accent-color);
    animation-delay: -5s;
}

@keyframes floating {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 10px 20px -10px rgba(var(--primary-color-rgb), 0.5);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(var(--primary-color-rgb), 0.6);
}

.btn-secondary {
    background-color: rgba(var(--primary-color-rgb), 0.05);
    color: var(--primary-color);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.btn-secondary:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.brand-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Sections */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero .fade-up {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero h1 {
    margin-top: 1rem;
    line-height: 1.1;
    text-align: center;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
}

.hero-btns {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.badge {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.1);
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
    /* Reduced for a tighter gap */
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 950px;
    margin: 0 auto 1.25rem;
    /* Reduced from 1.5rem */
    line-height: 1.1;
    text-align: center;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-align: center;
    opacity: 0.9;
}

/* Features Section */
.features {
    background-color: #fafbfc;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.section-header {
    max-width: 650px;
    margin: 0 auto 4rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(var(--primary-color-rgb), 0.2);
    box-shadow: var(--shadow-premium);
}

.feature-card .feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: #ffffff;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 3rem;
    position: relative;
    padding-top: 2rem;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 10px var(--bg-color);
    position: relative;
    z-index: 2;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 4rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--secondary-color);
    z-index: 1;
}

@media (max-width: 900px) {
    .steps-grid::before {
        display: none;
    }
}

/* Social Proof */
.social-proof {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.social-proof-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 2rem;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.logos:hover {
    filter: grayscale(0);
    opacity: 0.9;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #111827;
}

/* Final CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: center;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

.cta-section h2,
.cta-section p {
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary {
    background-color: #ffffff;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary:hover {
    background-color: var(--secondary-color);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background-color: #0f172a;
    color: #94a3b8;
}

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

.footer-brand {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer h4 {
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.footer ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.pricing-card {
    background: #ffffff;
    padding: 4rem 2.5rem;
    border-radius: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-premium);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px -10px rgba(var(--primary-color-rgb), 0.2);
}

.pricing-card.popular:hover {
    transform: scale(1.07) translateY(-15px);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.features-list {
    margin: 2rem 0;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.features-list li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: inherit;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background-color: #fafbfc;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    margin: 0;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* IMPORTANT BRANDING MANDATE - DO NOT REMOVE */
.footer-credits a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-credits a:hover {
    opacity: 0.8;
}

/* Animation Classes Used by JS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: none;
    }

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

    .mobile-menu-btn {
        display: block;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding: 8rem 0 5rem;
    }

    .logos {
        gap: 2rem 1.5rem;
        justify-content: center;
    }

    .logo-item {
        font-size: 1.25rem;
    }
}