/* 
  Entegrai Modern SaaS Theme Styles 
  Dark Mode, Glassmorphism, Gradients
*/

:root {
    /* Color Palette */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --primary-solid: #3b82f6;
    --primary-hover: #2563eb;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-text: linear-gradient(to right, #60a5fa, #c084fc);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--trans-fast);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--trans-fast);
    border: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.w-100 {
    width: 100%;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    font-family: var(--font-heading);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-navigation a {
    color: var(--text-secondary);
    font-weight: 500;
}

.main-navigation a:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Sections */
section {
    padding: 8rem 0;
    position: relative;
}

.section-heading {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

/* Ambient Background Orbs */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.hero-section::before {
    top: -100px;
    left: -200px;
    background: rgba(59, 130, 246, 0.4);
    /* Blue */
}

.hero-section::after {
    bottom: -200px;
    right: -200px;
    background: rgba(139, 92, 246, 0.3);
    /* Purple */
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Abstract Graphic in Hero */
.hero-graphic {
    position: relative;
    max-width: 800px;
    margin: 5rem auto 0;
    height: 400px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: absolute;
}

.main-glass {
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.glass-header {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.glass-dot.red {
    background: #ef4444;
}

.glass-dot.yellow {
    background: #f59e0b;
}

.glass-dot.green {
    background: #10b981;
}

.glass-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mock-line {
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.mock-line.short {
    width: 30%;
}

.mock-line.long {
    width: 70%;
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-top: auto;
    height: 150px;
}

.bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 8px 8px 0 0;
    opacity: 0.8;
}

.bar-1 {
    height: 40%;
}

.bar-2 {
    height: 70%;
}

.bar-3 {
    height: 100%;
}

.float-1 {
    width: 250px;
    height: 150px;
    top: -30px;
    right: -40px;
    z-index: 2;
    transform: rotate(5deg);
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -60px;
    z-index: 4;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    transform: rotate(-10deg);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(5deg);
    }
}

/* Features Grid */
.features-section {
    background-color: var(--bg-darker);
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    transition: var(--trans-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* How It Works */
.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step-box {
    flex: 1;
    padding: 0 1rem;
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-solid);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.step-box h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-connector {
    flex: 0 0 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin-top: 32px;
}

/* Pricing Grid */
.pricing-section {
    background-color: var(--bg-darker);
}

.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(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    position: relative;
    transition: var(--trans-smooth);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.1);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-header h3 {
    color: var(--text-secondary);
    font-weight: 500;
}

.price {
    font-family: var(--font-heading);
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price .currency,
.price .period {
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li.disabled {
    color: var(--text-secondary);
    opacity: 0.5;
}

.pricing-features li.disabled span {
    opacity: 0.5;
}

/* CTA Bottom */
.cta-bottom {
    background: var(--gradient-primary);
    padding: 6rem 0;
    color: white;
}

.cta-bottom h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-bottom p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-bottom .btn-primary {
    background: white;
    color: var(--primary-solid);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: var(--bg-darker);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-text {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.footer-navigation a {
    color: var(--text-secondary);
}

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

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-graphic {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2.5rem;
    }
}