/* 
===================================================================
A.S CRM PRO v8.0 - PREMIUM SAAS LANDING PAGE STYLES
===================================================================
Design Language: Modern SaaS (Stripe/HubSpot Level)
Colors: Azure Blue, Glassmorphism, Deep Gradients
Typography: Inter / Plus Jakarta Sans
===================================================================
*/

:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --accent: #10b981;
    --accent-gold: #fbbf24;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.6);
    --glass: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --font-family: 'Arial', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Mesh Gradient Background */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(96, 165, 250, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(29, 78, 216, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(37, 99, 235, 0.05) 0px, transparent 50%);
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Navbar Premium Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 16px 8%;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--primary);
    font-size: 26px;
    filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.5));
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

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

.nav-links a:hover {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Buttons Premium */
.btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(0, 102, 255, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    padding: 160px 8% 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(4px) brightness(0.5);
    z-index: -2;
}

.hero-tag {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    animation: fadeInDown 0.8s ease-out both;
}

.hero h1, .hero-title {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@media (max-width: 768px) {
    .hero h1, .hero-title {
        font-size: 36px !important;
        padding: 0 15px;
    }
}

.hero p {
    font-size: clamp(16px, 1.2vw, 20px);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Features Section & Bento Grid */
.features {
    padding: 120px 8%;
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(30, 41, 59, 0.5);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.bento-item.large { grid-column: span 8; grid-row: span 2; }
.bento-item.medium { grid-column: span 4; grid-row: span 2; }
.bento-item.small { grid-column: span 4; grid-row: span 1; }
.bento-item.wide { grid-column: span 12; grid-row: span 1; }

@media (max-width: 1024px) {
    .bento-item.large, .bento-item.medium, .bento-item.small, .bento-item.wide {
        grid-column: span 12;
    }
}

.bento-icon {
    font-size: 32px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Product Preview Section */
.product-preview {
    padding: 100px 8%;
    text-align: center;
}

.preview-container {
    position: relative;
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.preview-screen {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    display: block;
}

/* Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill.new { background: rgba(37, 99, 235, 0.2); color: var(--primary-light); }
.status-pill.ai { background: rgba(16, 185, 129, 0.2); color: var(--accent); }

/* Pricing Section Upgrade */
.pricing {
    padding: 120px 8%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.price-card {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 32px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.1), transparent);
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 1;
}

@media (max-width: 1024px) {
    .price-card.popular {
        transform: none;
    }
}

.price-card h4 {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-card .price {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
}

.price-card .price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-main);
}

.price-features li i {
    color: var(--accent);
}

/* Steps / How it Works Section */
.how-it-works {
    padding: 120px 8%;
    background: #020617;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    transition: 0.3s;
}

.step-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.step-number {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.2), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 20px;
    right: 30px;
}

.step-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 24px;
    }
}

/* Footer Premium */
.footer {
    padding: 80px 8% 40px;
    background: #010411;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-desc p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

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

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

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

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .price-card.popular { transform: none; }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo h2 {
        font-size: 22px !important;
    }

    .nav-ctas {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: auto;
    }

    .nav-ctas .btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 120px 5% 60px;
    }

    .hero h1, .hero-title {
        font-size: 32px !important;
        line-height: 1.2;
    }

    .hero p {
        font-size: 16px !important;
        margin-bottom: 30px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-ctas .btn {
        width: 100%;
        padding: 15px !important;
    }

    .footer-content { grid-template-columns: 1fr; }
}
