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

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --patrol-blue: #1e40af;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--light-blue) 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

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

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

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

.login-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.login-btn::after {
    display: none;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.title-line {
    display: block;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Mobile touch improvements */
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--gray-200);
}

.floating-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

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

/* Light Effects */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.light-effect {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.light-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.light-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-blue);
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.light-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-blue);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gray-50), var(--light-blue));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pareto-chart {
    display: flex;
    align-items: end;
    gap: 1rem;
    height: 200px;
}

.chart-bar {
    width: 40px;
    background: linear-gradient(to top, var(--primary-blue), var(--secondary-blue));
    border-radius: 5px 5px 0 0;
    animation: growBar 2s ease-out;
}

.bar-1 { height: 80%; animation-delay: 0s; }
.bar-2 { height: 60%; animation-delay: 0.2s; }
.bar-3 { height: 40%; animation-delay: 0.4s; }
.bar-4 { height: 20%; animation-delay: 0.6s; }
.bar-5 { height: 10%; animation-delay: 0.8s; }

@keyframes growBar {
    from { height: 0; }
    to { height: var(--target-height); }
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

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

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

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

.footer-section ul li a:hover {
    color: var(--white);
}

/* Footer logo section spacing */
.footer-section .logo {
    margin-bottom: 1rem;
}

.footer-section p {
    margin-top: 1.5rem; /* Add space between logo and description text */
    line-height: 1.6;
    color: var(--gray-300);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(59, 130, 246, 0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: background-color 0.2s ease;
        text-align: center;
    }
    
    .nav-link:hover {
        background-color: rgba(59, 130, 246, 0.1);
    }
    
    .login-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 6rem; /* Add top padding to avoid header overlap */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 4rem; /* Increase space below subtitle on mobile */
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        max-width: 280px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .btn {
        width: auto;
        min-width: 200px;
        justify-content: center;
        margin: 0 auto;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-visual {
        height: 200px; /* Reduce height since cards are hidden */
        margin-top: 1rem;
    }
    
    /* Features Section */
    .features {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    /* Principles Section */
    .principles {
        padding: 4rem 0;
    }
    
    .principles .section-subtitle {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .principle-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .principle-text {
        padding: 2rem;
        order: 2;
    }
    
    .principle-visual {
        order: 1;
        padding: 1.5rem;
    }
    
    .pareto-chart-fancy {
        width: 150px;
        height: 150px;
    }
    
    .time-bar-container {
        width: 150px;
    }
    
    .chart-bars {
        gap: 1rem;
    }
    
    .bar {
        width: 50px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation */
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .login-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 3.5rem; /* Increase space below subtitle on smaller screens */
    }
    
    .hero-buttons {
        max-width: 260px;
        padding: 0 0.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    .hero-visual {
        height: 150px;
        margin-top: 0.5rem;
    }
    
    /* Features Section */
    .features {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    /* Principles Section */
    .principles {
        padding: 3rem 0;
    }
    
    .principles .section-title {
        font-size: 1.8rem;
    }
    
    .principles .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .principle-text {
        padding: 1.5rem;
    }
    
    .principle-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .principle-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-number {
        font-size: 2rem;
    }
    
    .benefit-text {
        font-size: 0.9rem;
    }
    
    .pareto-chart-fancy {
        width: 120px;
        height: 120px;
    }
    
    .time-bar-container {
        width: 120px;
    }
    
    .chart-bars {
        gap: 0.75rem;
    }
    
    .bar {
        width: 45px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 3rem; /* Ensure proper spacing on very small screens */
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 160px;
    }
    
    .hero-buttons {
        max-width: 240px;
    }
    
    .hero-visual {
        height: 120px;
    }
    
    .feature-card {
        padding: 1.25rem 0.75rem;
    }
    
    .principle-text {
        padding: 1.25rem;
    }
    
    .pareto-chart-fancy {
        width: 100px;
        height: 100px;
    }
    
    .time-bar-container {
        width: 100px;
    }
    
    .bar {
        width: 40px;
    }
    
    /* Extra small device optimizations */
    .container {
        padding: 0 0.75rem;
    }
    
    .principle-card-horizontal {
        margin: 0 0.5rem;
        border-radius: 16px;
    }
    
    .feature-card {
        border-radius: 16px;
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    /* Improve touch targets */
    .nav-link, .btn, .feature-card, .principle-card-horizontal {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Better scrolling on mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Optimize animations for mobile */
    .floating-card, .light-effect {
        will-change: transform;
    }
    
    /* Improve text readability on small screens */
    .hero-subtitle, .principle-description, .feature-card p {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.pricing .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.pricing .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid var(--blue-600);
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
}

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

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--gray-600);
    font-weight: 500;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.period {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 500;
}

.savings {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: inline-block;
}

.savings-amount {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.savings-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.plan-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.plan-features i {
    color: var(--green-600);
    font-size: 1rem;
}

.plan-action {
    margin-top: auto;
}

.plan-action .btn {
    width: 100%;
    justify-content: center;
}

/* Pricing Benefits */
.pricing-benefits {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-benefits h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Responsive Design for Pricing */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .amount {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .pricing {
        padding: 4rem 0;
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .plan-header h3 {
        font-size: 1.3rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Scientific Principles Section */
.principles {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.principles .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.principles .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.principles-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.principle-card-horizontal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.principle-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.principle-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}

.principle-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.principle-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.principle-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.principle-benefit {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue-600);
}

.benefit-text {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

.principle-visual {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Pareto Chart */
.pareto-chart-fancy {
    position: relative;
    width: 200px;
    height: 200px;
}

.chart-circle {
    position: relative;
    width: 100%;
    height: 100%;
}

.pie-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.pie-segment {
    animation: fillPie 2s ease-out forwards;
}

@keyframes fillPie {
    from { stroke-dashoffset: 251.2; }
    to { stroke-dashoffset: 50.24; }
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-percentage {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-600);
}

.chart-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Time Compression Chart */
.time-compression-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.time-bar-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 200px;
}

.time-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

.bar-fill {
    height: 20px;
    background: linear-gradient(90deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 10px;
    width: 100%;
    transition: all 0.3s ease;
}

.bar-fill.compressed {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    width: 75%;
    animation: compressBar 2s ease-out forwards;
}

@keyframes compressBar {
    from { width: 100%; }
    to { width: 75%; }
}

.compression-arrow {
    color: var(--blue-600);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.improvement-label {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Performance Chart */
.performance-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: 200px;
}

/* Mobile-specific chart adjustments */
@media (max-width: 768px) {
    .performance-chart {
        height: 200px; /* Increase height to give more space */
        padding-top: 20px;
        padding-bottom: 15px; /* Add bottom padding for labels */
    }
    
    .chart-bars {
        height: 120px;
    }
    
    .chart-labels {
        margin-top: 10px; /* Add space above labels */
    }
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 2rem;
    height: 150px;
    width: 100%;
    justify-content: center;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bar {
    width: 60px;
    min-height: 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.bar.baseline {
    background: linear-gradient(180deg, #e5e7eb 0%, #d1d5db 100%);
    height: 60px;
    animation: growBarBaseline 2s ease-out forwards;
}

.bar.improved {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    height: 90px;
    animation: growBarImproved 2s ease-out 0.5s forwards;
}

@keyframes growBarBaseline {
    from { height: 0px; }
    to { height: 60px; }
}

@keyframes growBarImproved {
    from { height: 0px; }
    to { height: 90px; }
}

.bar-value {
    position: absolute;
    top: -25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* Mobile adjustments for bar values to prevent overlap */
@media (max-width: 768px) {
    .bar-value {
        top: -30px;
        font-size: 0.75rem;
    }
    
    .performance-chart {
        padding-top: 20px; /* Add top padding to prevent overlap */
    }
}

.chart-labels {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Responsive Design for Principles */
@media (max-width: 768px) {
    .principle-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .principle-text {
        padding: 2rem;
        order: 2;
    }
    
    .principle-visual {
        order: 1;
        padding: 1.5rem;
    }
    
    .pareto-chart-fancy {
        width: 150px;
        height: 150px;
    }
    
    .time-bar-container {
        width: 150px;
    }
    
    .chart-bars {
        gap: 1rem;
    }
    
    .bar {
        width: 50px;
    }
    
    /* Better mobile spacing */
    .principle-card-horizontal {
        margin: 0 1rem;
    }
    
    .principle-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .principle-description {
        font-size: 1rem;
        line-height: 1.6;
    }
}