/* Custom Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--light-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

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

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--primary-color);
    font-size: 2rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-300) !important;
    transition: color 0.3s ease;
    margin: 0 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: var(--light-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, #667eea 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #764ba2 0%, transparent 50%);
    opacity: 0.1;
}

.hero-content {
    color: var(--light-color);
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-300);
    font-weight: 400;
}

.cta-text {
    font-size: 1.75rem;
    margin-bottom: 0;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    color: var(--light-color);
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.floating-card:nth-child(1) {
    top: 50px;
    right: 100px;
    width: 250px;
}

.floating-card:nth-child(2) {
    top: 200px;
    right: 50px;
    width: 220px;
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    top: 350px;
    right: 150px;
    width: 240px;
    animation-delay: -4s;
}

.card-icon {
    background: var(--gradient-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-content h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

.metric {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light-color);
}

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

.delay-1 {
    animation-delay: -2s;
}

.delay-2 {
    animation-delay: -4s;
}

/*text-overflow fix */
@media (min-width: 992px) {
  .floating-card {
    display: flex;
    align-items: center;
    gap: 1rem;                 /* consistent space between icon and text */
    padding: 1rem 1.5rem;      /* internal padding all around */
    border-radius: 20px;
    width: auto;               /* allow card to size to content */
    min-width: 300px;          /* prevents cramping on shorter text */
    overflow: hidden;
    justify-content: flex-start;
  }

  /* keep metrics and labels on one line if possible */
  .floating-card .metric {
    white-space: nowrap;
  }

  .floating-card .card-content {
    min-width: 0;              /* allows wrapping if absolutely needed */
  }
}



/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

/* Problem Section */
.problem-section {
    background: var(--gray-100);
}

.problem-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.problem-stat {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--light-color);
    padding: 2rem 3rem;
    border-radius: 20px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.problem-stat i {
    font-size: 2rem;
}

.problem-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--gray-200);
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.problem-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Solution Section */
.solution-section {
    background: var(--light-color);
}

.solution-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.solution-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-success);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.solution-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Comparison Section */
.comparison-section {
    background: var(--gray-100);
}

.comparison-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 3px solid transparent;
    position: relative;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.comparison-card.negative {
    border-color: var(--danger-color);
}

.comparison-card.expensive {
    border-color: var(--warning-color);
}

.comparison-card.generic {
    border-color: var(--gray-400);
}

.comparison-card.positive {
    border-color: var(--success-color);
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.comparison-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.negative .comparison-icon {
    background: var(--danger-color);
    color: var(--light-color);
}

.expensive .comparison-icon {
    background: var(--warning-color);
    color: var(--light-color);
}

.generic .comparison-icon {
    background: var(--gray-500);
    color: var(--light-color);
}

.positive .comparison-icon {
    background: var(--success-color);
    color: var(--light-color);
}

.comparison-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.comparison-card p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: 1rem;
}

.urgency-message {
    background: var(--gradient-accent);
    color: var(--light-color);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.urgency-message h3 {
    margin: 0;
    font-size: 1.75rem;
}

/* Statistics Section */
.stats-section {
    background: var(--dark-color);
    color: var(--light-color);
}

.stats-section .section-title,
.stats-section .section-subtitle {
    color: var(--light-color);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-color);
    margin-bottom: 1rem;
}

.stat-description {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.final-cta {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.final-cta h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--light-color);
}

/* Contact Section */
.contact-section {
    background: var(--gray-100);
}

.cta-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-control {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-300);
    border-radius: 0;
    padding: 1rem 0 0.5rem;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: transparent;
    border-color: var(--primary-color);
    box-shadow: none;
    outline: none;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--gray-500);
    font-size: 1.125rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-control:focus + label,
.form-control:valid + label {
    top: -0.5rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-control:focus + label {
    color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-color);
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand i {
    color: var(--primary-color);
    font-size: 2rem;
}

.footer-section h5 {
    color: var(--light-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

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

.contact-info p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.copyright {
    color: var(--gray-400);
    margin: 0;
    padding-top: 2rem;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .cta-text {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-visual {
        display: none;
    }
    
    .floating-card {
        position: static;
        margin-bottom: 1rem;
        width: 100% !important;
        animation: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .urgency-message h3 {
        font-size: 1.5rem;
    }
    
    .final-cta h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .problem-card,
    .solution-card,
    .comparison-card,
    .stat-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}