/* Base Styles */
:root {
    /* Primary Colors */
    --primary: #BF0426; /* Infernal Red */
    --primary-dark: #8C0327; /* Blood Crimson */
    --primary-light: #F24236; /* Ember Orange */

    /* Secondary Colors */
    --secondary: #0D0D0D; /* Obsidian Black */
    --secondary-light: #1A1A1A; /* Charcoal Ash */
    --secondary-dark: #050505; /* Void Black */

    /* Accent Colors */
    --accent-orange: #FF4713; /* Hellfire Orange */
    --accent-gold: #E6B325; /* Brimstone Gold */
    --accent-yellow: #F9D923; /* Sulfur Yellow */
    --accent-magma: #FF7D4D; /* Molten Magma */
    
    /* Text Colors */
    --text-primary: #FFFFFF; /* Pure White */
    --text-secondary: #F8F0E3; /* Bone White */
    --text-muted: #B3B3B3; /* Ash Gray */
    --text-highlight: #FF9776; /* Ember Glow */

    /* Gradients */
    --gradient-background: linear-gradient(135deg, #0D0D0D 0%, #260101 50%, #570111 100%);
    --gradient-card: linear-gradient(120deg, rgba(13,13,13,0.7) 0%, rgba(191,4,38,0.3) 100%);
    --gradient-button: linear-gradient(90deg, #BF0426 0%, #8C0327 100%);
    --gradient-highlight: radial-gradient(circle, rgba(255,71,19,0.15) 0%, rgba(255,71,19,0) 70%);

    /* UI Elements */
    --card-bg: var(--secondary); /* Obsidian Black */
    --input-bg: rgba(13, 13, 13, 0.7); /* Dark with slight transparency */
    --border-color: rgba(255, 71, 19, 0.1); /* Subtle orange border */

    /* Spacing - Using 8px base unit */
    --spacing-xs: 0.5rem; /* 8px */
    --spacing-sm: 1rem; /* 16px */
    --spacing-md: 1.5rem; /* 24px */
    --spacing-lg: 2rem; /* 32px */
    --spacing-xl: 3rem; /* 48px */
    --spacing-xxl: 4rem; /* 64px */
    --spacing-xxxl: 6rem; /* 96px */

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(191, 4, 38, 0.15), 0 0 0 1px rgba(255, 71, 19, 0.05);
    --shadow-md: 0 8px 24px rgba(191, 4, 38, 0.25), 0 0 0 1px rgba(255, 71, 19, 0.1);
    --shadow-lg: 0 16px 48px rgba(191, 4, 38, 0.35), 0 0 0 1px rgba(255, 71, 19, 0.2);
    --shadow-inner: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Apple from Hell Glassmorphism & Infernal Effects === */
.hero-section {
  position: relative;
  background: linear-gradient(120deg, rgba(30,0,0,0.85) 0%, rgba(123,6,18,0.85) 100%);
  box-shadow: 0 8px 48px 0 rgba(255,30,0,0.18), 0 1.5px 0 0 #ff5400;
  border-radius: 32px;
  margin: 2.5rem 0;
  overflow: visible;
  z-index: 1;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 2.5px solid rgba(255,84,0,0.18);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--gradient-background);
    overflow-x: hidden;
    min-height: 100vh;
    letter-spacing: 0.01em;
    padding-top: 80px; /* Account for fixed navbar height */
}

/* Premium glassmorphism for main sections */
.features-section,
.pricing-section,
.testimonials-section {
  position: relative;
  background: linear-gradient(120deg, rgba(30,0,0,0.85) 0%, rgba(123,6,18,0.85) 100%);
  box-shadow: 0 8px 48px 0 rgba(255,30,0,0.18), 0 1.5px 0 0 #ff5400;
  border-radius: 32px;
  margin: 2.5rem 0;
  overflow: visible;
  z-index: 1;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 2.5px solid rgba(255,84,0,0.18);
}
.features-section .container,
.pricing-section .container,
.testimonials-section .container {
  position: relative;
  z-index: 2;
}
.features-section::before,
.pricing-section::before,
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px; right: -60px; bottom: -60px;
  background: radial-gradient(circle at 60% 20%, rgba(255,84,0,0.18) 0%, rgba(217,4,41,0.08) 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  filter: blur(32px);
}

html, body {
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--secondary-dark);

    /* Chrome/Edge/Safari */
    &::-webkit-scrollbar {
        width: 8px;
    }

    &::-webkit-scrollbar-track {
        background: var(--secondary-dark);
    }

    &::-webkit-scrollbar-thumb {
        background-color: var(--primary);
        border-radius: 10px;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-dark);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem; /* 48px */
}

h2 {
    font-size: 2.5rem; /* 40px */
}

h3 {
    font-size: 2rem; /* 32px */
}

h4 {
    font-size: 1.5rem; /* 24px */
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.accent-text {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.1);
    outline: none;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn i {
    margin-left: var(--spacing-sm);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(191, 4, 38, 0.3),
                0 0 0 1px rgba(255, 71, 19, 0.2),
                0 1px 0 0 rgba(255, 255, 255, 0.05) inset;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(191, 4, 38, 0.4),
                0 0 0 1px rgba(255, 71, 19, 0.3),
                0 1px 0 0 rgba(255, 255, 255, 0.1) inset;
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(191, 4, 38, 0.5);
}

.btn-secondary {
    background: rgba(13, 13, 13, 0.7);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(26, 26, 26, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-secondary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 4px 12px rgba(255, 71, 19, 0.1);
}

.btn-outline-primary:hover {
    background: rgba(255, 71, 19, 0.1);
    border-color: var(--accent-orange);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 71, 19, 0.2);
}

.btn-outline-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* Button ripple effect */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:active::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.btn-full {
    width: 100%;
}

.btn-login {
    background-color: transparent;
    border: 2px solid var(--secondary-light);
    color: var(--text-primary);
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background-color: var(--secondary-light);
    border: none;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.btn-google:hover {
    background-color: #db4437;
}

.btn-github:hover {
    background-color: #333;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1000;
    border-bottom: 2px solid rgba(191, 4, 38, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 71, 19, 0.2);
    transition: all 0.3s ease;
}

/* Navbar appearance change on scroll */
.navbar-scrolled {
    background: rgba(13, 13, 13, 0.95);
    height: 70px;
    border-bottom: 2px solid rgba(191, 4, 38, 0.6);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 71, 19, 0.3);
}

.navbar-scrolled .logo img {
    height: 40px;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 2rem;
    max-width: 1440px;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    height: 80px;
    gap: 1.25rem;
    z-index: 1100;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 12px #d90429cc);
    transition: filter 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 4px 16px #ff5400);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link {
    position: relative;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(255, 71, 19, 0.6);
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-orange);
}

.nav-link.active::after {
    width: 100%;
    background: var(--accent-orange);
    box-shadow: 0 0 12px rgba(255, 71, 19, 0.8);
}

.auth-item {
    margin-left: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    background: rgba(26, 26, 26, 0.6);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 71, 19, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(255, 71, 19, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid rgba(255, 71, 19, 0.4);
    box-shadow: 0 0 8px rgba(255, 71, 19, 0.4);
}

.user-name {
    margin-right: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.logout-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    margin-left: 8px;
}

.google-signin-wrapper {
    min-width: 180px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.4);
    border-radius: var(--radius-md);
    padding: 0.25rem;
    border: 1px solid rgba(255, 71, 19, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.google-signin-wrapper:hover {
    background: rgba(26, 26, 26, 0.6);
    border-color: rgba(255, 71, 19, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Navbar Toggle (Mobile) */
.navbar-toggle {
    display: none;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 71, 19, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1101;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggle:focus,
.navbar-toggle:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(255, 71, 19, 0.4);
    color: var(--accent-orange);
    box-shadow: 0 0 12px rgba(255, 71, 19, 0.4);
}

.navbar-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.navbar-toggle:hover svg {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
    background: var(--gradient-background);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 71, 19, 0.15), transparent 70%);
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, #ff5400 0%, rgba(217,4,41,0.0) 70%);
    opacity: 0.18;
    filter: blur(100px);
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes ember-glow {
    0% { box-shadow: 0 0 10px 2px rgba(255, 71, 19, 0.3); }
    50% { box-shadow: 0 0 20px 5px rgba(255, 71, 19, 0.5); }
    100% { box-shadow: 0 0 10px 2px rgba(255, 71, 19, 0.3); }
}

.ember-glow {
    animation: ember-glow 4s infinite alternate ease-in-out;
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #2d0a0a 0%, #7b0612 100%);
}

/* Animation for section reveals */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grid items */
.features-grid .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.features-grid .feature-card:nth-child(4) {
    transition-delay: 0.4s;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 71, 19, 0.1);
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 71, 19, 0.3);
    box-shadow: 0 16px 40px rgba(191, 4, 38, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-button);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(191, 4, 38, 0.3);
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* How It Works Section */
.how-it-works {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: var(--secondary);
}

.steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: linear-gradient(to bottom,
        rgba(191, 4, 38, 0.3) 0%,
        rgba(255, 71, 19, 0.8) 50%,
        rgba(191, 4, 38, 0.3) 100%);
}

.step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 48px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(5px);
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-button);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 0 4px var(--secondary),
                0 8px 16px rgba(191, 4, 38, 0.3);
    z-index: 2;
}

.step-content h3 {
    margin-bottom: var(--spacing-sm);
}

/* Dashboard Preview Section */
.dashboard-preview {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-background);
    position: relative;
    overflow: hidden;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, #ff5400 0%, rgba(217,4,41,0.0) 70%);
    opacity: 0.10;
    filter: blur(100px);
    z-index: 1;
}

.dashboard-preview .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.dashboard-content {
    flex: 1;
}

.dashboard-content h2 {
    margin-bottom: var(--spacing-md);
}

.dashboard-features {
    margin: var(--spacing-lg) 0;
}

.dashboard-features li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.dashboard-features i {
    color: var(--primary);
}

.dashboard-image {
    flex: 1.5; /* Increased flex value to make image wider */
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 71, 19, 0.1);
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg); /* Further reduced 3D effect */
    transition: all 0.5s ease;
    max-width: 100%; /* Ensure it doesn't overflow */
}

.dashboard-image:hover {
    transform: perspective(1000px) rotateY(-1deg) rotateX(1deg);
}

/* Dashboard Mockup Styles */
.dashboard-mockup {
    width: 100%;
    /* height: 500px; Let content determine height */
    background: rgba(13, 13, 13, 0.9);
    border-radius: var(--radius-xl);
    /* overflow: hidden; Allow content to be visible */
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 71, 19, 0.2);
    max-width: 100%; /* Ensure it doesn't overflow its container */
}

.dashboard-header {
    height: 60px;
    background: rgba(8, 8, 8, 0.9);
    border-bottom: 1px solid rgba(255, 71, 19, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.dashboard-logo {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-controls {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
}

.dashboard-controls i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.dashboard-controls i:hover {
    color: var(--text-primary);
}

.dashboard-content-area {
    display: flex;
    flex: 1;
    height: calc(100% - 60px);
}

.dashboard-sidebar {
    width: 180px;
    background: rgba(10, 10, 10, 0.8);
    border-right: 1px solid rgba(255, 71, 19, 0.1);
    padding: 20px 0;
}

.sidebar-item {
    padding: 10px 16px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.sidebar-item:hover {
    background: rgba(255, 71, 19, 0.1);
    color: var(--text-primary);
}

.sidebar-item.active {
    background: rgba(255, 71, 19, 0.2);
    color: var(--accent-orange);
    border-left: 3px solid var(--accent-orange);
}

.dashboard-main {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-template-rows: auto auto;
    gap: 20px;
    overflow: auto;
}

.dashboard-widget {
    background: rgba(26, 26, 26, 0.7);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid rgba(255, 71, 19, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.dashboard-widget h4 {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.dashboard-widget.revenue {
    grid-column: 1 / 3;
}

.chart-placeholder {
    height: 120px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.chart-placeholder::before {
    content: 'Chart will appear here';
    color: rgba(59, 130, 246, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 71, 19, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.insight-item i {
    color: var(--accent-orange);
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-light);
    transition: var(--transition-fast);
    border-radius: var(--radius-full);
}

.slider:before {
    position: absolute;
    content: '';
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition-fast);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.save-badge {
    background-color: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    margin-left: 5px;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    flex: 1;
    max-width: 350px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 71, 19, 0.1);
    position: relative;
    box-shadow: var(--shadow-md);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(191, 4, 38, 0.2);
}

.pricing-card.featured {
    border: 2px solid var(--accent-orange);
    box-shadow: 0 24px 48px rgba(191, 4, 38, 0.25),
                0 0 0 1px rgba(255, 71, 19, 0.3);
    transform: translateY(-16px);
}

.pricing-card.featured:hover {
    transform: translateY(-24px);
    box-shadow: 0 32px 64px rgba(191, 4, 38, 0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(90deg, #ff5400 0%, #d90429 100%);
    color: #fff0e6;
    padding: 4px 12px;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255,30,0,0.18);
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    color: var(--text-secondary);
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    margin: var(--spacing-lg) 0;
}

.pricing-features li {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.pricing-features li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pricing-features i {
    width: 20px;
    text-align: center;
}

.pricing-features .fa-check {
    color: var(--success);
}

.pricing-features .fa-times {
    color: var(--danger);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-card .btn {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* App Section */
.app-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #2d0a0a 0%, #7b0612 100%);
}

.app-interface {
    background: linear-gradient(120deg, #2d0a0a 0%, #7b0612 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
    border: 1.5px solid var(--primary-dark);
}

.market-analysis-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.input-group label {
    font-weight: 500;
}

.form-input {
    background: rgba(13, 13, 13, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 71, 19, 0.2);
    background: rgba(26, 26, 26, 0.8);
}

select.form-input {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.badge {
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.business-models {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.business-model-card {
    background: linear-gradient(135deg, #1a0909 0%, #2d0a0a 100%);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1.5px solid var(--primary-dark);
}

.model-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.model-header h4 {
    margin-bottom: 0;
}

.revenue-badge {
    background-color: var(--secondary);
    color: var(--success);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.model-metrics {
    margin: var(--spacing-md) 0;
}

.metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-md);
}

.metric-label {
    min-width: 100px;
    max-width: 100px;
    font-size: 0.9rem;
}

.metric-bar {
    flex: 1;
    height: 8px;
    background-color: var(--secondary-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
}

.metric-value {
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
}

.btn-select {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 71, 19, 0.1);
    margin: 0 var(--spacing-md);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(191, 4, 38, 0.2);
}

.testimonial-content {
    position: relative;
    padding: var(--spacing-md) 0;
    z-index: 1;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 120px;
    color: rgba(255, 71, 19, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 71, 19, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-right: 16px;
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--spacing-lg);
    gap: var(--spacing-md);
}

.testimonial-control {
    background: linear-gradient(135deg, #2d0a0a 0%, #7b0612 100%);
    border: 1.5px solid var(--primary-dark);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
    box-shadow: 0 2px 8px rgba(255,30,0,0.10);
}

.testimonial-control:hover {
    background-color: var(--primary);
}

.testimonial-dots {
    display: flex;
    gap: var(--spacing-sm);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: var(--secondary-light);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* CTA Section */
.cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(90deg, #7b0612 0%, #1a0909 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(217,4,41,0.10);
}

.cta::before,
.cta::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: var(--radius-full);
    background: var(--primary);
    opacity: 0.1;
    filter: blur(100px);
    z-index: 1;
}

.cta::before {
    top: -150px;
    right: -50px;
}

.cta::after {
    bottom: -150px;
    left: -50px;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    margin-bottom: var(--spacing-md);
}

.cta p {
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #1a0909 0%, #7b0612 100%);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 2px solid var(--primary-dark);
    box-shadow: 0 -2px 16px rgba(217,4,41,0.10);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 30px;
}

.footer-links {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: space-between;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #2d0a0a 0%, #7b0612 100%);
    border: 1.5px solid var(--primary-dark);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

/* Google Button Styles */
.google-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--spacing-md) 0;
    min-height: 50px;
    width: 100%;
    overflow: hidden;
}

/* Style for the Google sign-in button iframe */
.google-btn-container iframe {
    width: 100% !important;
    min-height: 40px;
}

/* Ensure the Google button is centered and sized properly */
.google-btn-container div {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

/* Authentication Success Message */
.auth-success {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.auth-success-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: var(--spacing-md);
    display: block;
}

.auth-success h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.auth-success p {
    color: var(--text-secondary);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin-bottom: 0;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-body {
    padding: var(--spacing-lg);
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.forgot-password {
    color: var(--primary);
    font-size: 0.9rem;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: var(--spacing-md) 0;
}

.auth-divider span {
    background: linear-gradient(120deg, rgba(30,0,0,0.85) 0%, rgba(123,6,18,0.85) 100%);
    padding: 0.5rem 1.2rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(191, 4, 38, 0.2);
    border: 1px solid rgba(255, 71, 19, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 71, 19, 0.1), rgba(255, 71, 19, 0.4), rgba(255, 71, 19, 0.1));
}

.social-login {
    display: flex;
    gap: var(--spacing-md);
}

/* Auth Form Styles */
.auth-form-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.auth-error {
  background: rgba(220, 38, 38, 0.1);
  color: #ef4444;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
  animation: fadeIn 0.3s ease-out;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}

.form-input {
  width: 100%;
  background: rgba(13, 13, 13, 0.7);
  border: 1px solid rgba(255, 71, 19, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 16px 14px 46px;
  color: var(--text-primary);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 71, 19, 0.2);
  background: rgba(26, 26, 26, 0.8);
}

.form-input:focus + .input-icon {
  color: var(--accent-orange);
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-orange);
}

.forgot-password {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.forgot-password:hover {
  color: var(--accent-magma);
  text-shadow: 0 0 8px rgba(255, 71, 19, 0.4);
}

.terms-agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.terms-agreement input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent-orange);
}

.terms-agreement a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.terms-agreement a:hover {
  color: var(--accent-magma);
  text-shadow: 0 0 8px rgba(255, 71, 19, 0.4);
}

.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

/* Modal Overlay Improvements */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
  background: linear-gradient(120deg, rgba(30,0,0,0.85) 0%, rgba(123,6,18,0.85) 100%);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 8px 48px 0 rgba(255,30,0,0.18), 0 1.5px 0 0 #ff5400;
  position: relative;
  border: 2.5px solid rgba(255,84,0,0.18);
  animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content h2 {
  margin-bottom: 24px;
  text-align: center;
  font-weight: 800;
  color: var(--text-primary);
  font-size: 1.8rem;
}

.modal-content button[style*="float: right"] {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(13, 13, 13, 0.4);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
}

.modal-content button[style*="float: right"]:hover {
  background: rgba(255, 71, 19, 0.2);
  color: var(--text-primary);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-image {
        order: 0;
        margin-bottom: var(--spacing-lg);
    }

    .dashboard-preview .container {
        flex-direction: column;
    }

    .dashboard-image {
        margin-top: var(--spacing-lg);
        width: 100%;
        max-width: 600px; /* Limit width on medium screens */
        margin-left: auto;
        margin-right: auto;
    }
    
    /* .dashboard-mockup height adjusted via removal above */

    .footer-top {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }

    .navbar {
        height: 70px;
    }
    
    .logo img {
        height: 40px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 13, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;
        box-shadow: 0 8px 32px 0 rgba(217,4,41,0.35);
        z-index: 1100;
        border-bottom: 2px solid var(--primary-dark);
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
        animation: navSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        /* Ensure mobile menu overlays content and is always visible when active */
        z-index: 1200;
        box-shadow: 0 12px 32px 0 rgba(217,4,41,0.45);
    }
    
    @keyframes navSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0.75rem 0;
        text-align: center;
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255, 71, 19, 0.1);
    }
    
    .nav-menu li:last-child {
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 71, 19, 0.2);
        border-bottom: none;
    }
    
    .nav-link {
        width: 100%;
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
    
    .nav-link::after {
        bottom: 0;
    }
    
    .auth-item {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .user-info {
        flex-direction: column;
        padding: 1rem;
        width: 80%;
        max-width: 300px;
    }
    
    .user-avatar {
        width: 48px;
        height: 48px;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .user-name {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    
    .logout-btn {
        width: 100%;
    }
    
    .google-signin-wrapper {
        width: 80%;
        max-width: 300px;
        height: 50px;
    }
    
    @keyframes navFadeIn {
        from { opacity: 0; transform: translateY(-16px);}
        to { opacity: 1; transform: translateY(0);}
    }
    
    .navbar-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons, .social-login {
        flex-direction: column;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
    }

    .pricing-card.featured {
        transform: scale(1);
        order: -1;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* .dashboard-mockup height adjusted via removal above */
    
    .dashboard-widget h4 {
        font-size: 0.9rem; /* Smaller headings on small screens */
    }
    
    .dashboard-sidebar {
        width: 160px; /* Narrower sidebar on small screens */
    }
    
    .sidebar-item {
        padding: 8px 16px; /* Smaller padding for sidebar items */
        font-size: 0.9rem;
    }
}
.hidden {
    display: none;
}

.metric-fill-70 {
    width: 70%;
}

.metric-fill-90 {
    width: 90%;
}

/* === Infernal Accents & Animated Effects === */

/* (REMOVED) .infernal-flame-header, .flame-header, .flame-svg, .flame-card, and related keyframes for header flames */

.flame-svg {
  display: block;
  width: 120px;
  height: 40px;
  margin: 0 auto -12px auto;
  pointer-events: none;
  filter: drop-shadow(0 0 16px #ff5400cc) drop-shadow(0 0 32px #ffae42aa);
  animation: flame-flicker 1.2s infinite alternate;
}

.flame-header {
  width: 320px;
  height: 48px;
  margin-bottom: -18px;
}

.flame-card {
  width: 80px;
  height: 28px;
  margin-bottom: -10px;
}

@keyframes flame-flicker {
  0% { filter: drop-shadow(0 0 12px #ff5400cc) drop-shadow(0 0 24px #ffae42aa); opacity: 0.95; }
  40% { filter: drop-shadow(0 0 20px #ffae42cc) drop-shadow(0 0 40px #fff17699); opacity: 1; }
  60% { filter: drop-shadow(0 0 16px #ff5400cc) drop-shadow(0 0 32px #ffae42aa); opacity: 0.92; }
  100% { filter: drop-shadow(0 0 18px #ff5400cc) drop-shadow(0 0 36px #ffae42aa); opacity: 0.98; }
}

/* Glowing, flickering borders for infernal theme */
.btn, .btn-primary, .btn-outline-primary {
  background: linear-gradient(90deg, rgba(255,84,0,0.92) 0%, rgba(217,4,41,0.92) 100%);
  color: #fff0e6;
  border: 2.5px solid #ff5400;
  border-radius: 16px;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px #d90429cc;
  box-shadow: 0 0 24px 4px #ff5400cc, 0 0 48px 8px #d9042940;
  transition: all 0.28s cubic-bezier(0.8,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  background: radial-gradient(circle, #fff17655 0%, transparent 80%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.4s, height 0.4s, opacity 0.4s;
  z-index: 0;
}
.btn:active::after {
  width: 180%; height: 180%; opacity: 0.18;
}
.btn:hover, .btn:focus {
  background: linear-gradient(90deg, #ffae42 0%, #d90429 100%);
  color: #fff0e6;
  box-shadow: 0 0 32px 8px #ffae42cc, 0 0 64px 16px #fff17640;
  border-color: #ffae42;
  transform: scale(1.045) translateY(-2px);
}
.btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 12px 2px #d90429cc;
}
.btn-outline-primary {
  background: rgba(30,0,0,0.18);
  color: #ff5400;
  border: 2.5px solid #ff5400;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: linear-gradient(90deg, #ffae42 0%, #d90429 100%);
  color: #fff0e6;
  border-color: #ffae42;
}
.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.25rem;
  border-radius: 24px;
}

@keyframes infernal-glow {
  0% { box-shadow: 0 0 8px 2px #ff5400cc, 0 0 24px 4px #d9042940; }
  50% { box-shadow: 0 0 16px 4px #ffae42cc, 0 0 32px 8px #fff17640; }
  100% { box-shadow: 0 0 8px 2px #ff5400cc, 0 0 24px 4px #d9042940; }
}

.feature-card, .pricing-card, .step-card, .testimonial-card {
  background: linear-gradient(120deg, rgba(30,0,0,0.72) 0%, rgba(123,6,18,0.82) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 2.5px solid rgba(255,84,0,0.22);
  box-shadow: 0 8px 48px 0 rgba(255,30,0,0.22), 0 1.5px 0 0 #ff5400;
  transition: transform 0.35s cubic-bezier(0.8,0,0.2,1), box-shadow 0.35s cubic-bezier(0.8,0,0.2,1), border-color 0.35s;
  position: relative;
  z-index: 2;
  cursor: pointer;
}
.feature-card:hover, .step-card:hover, .pricing-card:hover, .testimonial-card:hover {
  transform: scale(1.035) translateY(-8px);
  box-shadow: 0 16px 64px 0 #ff5400cc, 0 2.5px 0 0 #ff5400;
  border-color: #ffae42;
}
.feature-card:active, .step-card:active, .pricing-card:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 0 12px 2px #d90429cc;
  border-color: #d90429;
}

@keyframes card-glow {
  0% { box-shadow: 0 0 16px 4px #ff540055, 0 0 32px 8px #d9042922; }
  60% { box-shadow: 0 0 32px 8px #ffae42aa, 0 0 48px 12px #fff17633; }
  100% { box-shadow: 0 0 16px 4px #ff540055, 0 0 32px 8px #d9042922; }
}

/* Ensure flame SVGs are always on top of card content */
.flame-card {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Full Dashboard Styles */
.dashboard-full {
    padding: 0;
    background: var(--gradient-background);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-full::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, #ff5400 0%, rgba(217,4,41,0.0) 70%);
    opacity: 0.10;
    filter: blur(100px);
    z-index: 1;
}

.dashboard-container {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 2;
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.dashboard-layout {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
