/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --gray-light: #e2e8f0;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    transition: var(--transition);
}

body.dark-mode {
    --dark-color: #f8fafc;
    --light-color: #1e293b;
    --gray-color: #cbd5e1;
    --gray-light: #334155;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.highlight {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-outline, .btn-login {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-login {
    background-color: transparent;
    color: var(--dark-color);
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

body.dark-mode .navbar {
    background-color: var(--gray-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    z-index: 1;
    padding: 10px 0;
}

body.dark-mode .dropdown-content {
    background-color: var(--gray-light);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--dark-color);
}

.dropdown-content a:hover {
    background-color: var(--gray-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

body.dark-mode .feature-card {
    background-color: var(--gray-light);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* ===== PRICING SECTION ===== */
.pricing-preview {
    padding: 100px 0;
    background-color: var(--gray-light);
}

body.dark-mode .pricing-preview {
    background-color: #0f172a;
}

.pricing-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-color);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
    transition: var(--transition);
}

body.dark-mode .pricing-card {
    background-color: var(--gray-light);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.price sup {
    font-size: 1.5rem;
    vertical-align: super;
}

.price span {
    font-size: 1rem;
    color: var(--gray-color);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-card li i.fa-check {
    color: var(--success-color);
}

.pricing-card li i.fa-times {
    color: var(--danger-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--gray-light);
    color: white;
}

.small-text {
    font-size: 0.9rem;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 30px;
}

body.dark-mode .footer {
    background-color: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payments {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

body.dark-mode .mobile-menu {
    background-color: var(--gray-light);
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: var(--dark-color);
    border-bottom: 1px solid var(--gray-light);
}

.mobile-menu a:last-child {
    border-bottom: none;
}/* ===== RESPONSIVE DESIGN ENHANCEMENTS ===== */

/* Extra large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Large devices (desktops, 1200px to 1399px) */
@media (max-width: 1399.98px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .feature-detail-grid {
        max-width: 1000px;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .feature-detail-card {
        padding: 30px;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    /* Hero Section */
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Navigation */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .nav-actions {
        gap: 15px;
    }
    
    /* Features Page Specific */
    .feature-detail-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .feature-detail-icon {
        margin: 0 auto;
    }
    
    .feature-list li {
        text-align: left;
        padding-left: 25px;
    }
    
    .progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .progress-item span:first-child {
        width: 100%;
    }
    
    .progress-bar {
        width: 100%;
    }
    
    .server-count {
        justify-content: center;
        gap: 20px;
    }
    
    /* Platforms */
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Steps */
    .steps-container::before {
        left: 30px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Comparison Table */
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-table table {
        min-width: 700px;
    }
    
    /* Stats Banner */
    .stats-banner .container {
        gap: 30px;
    }
    
    .stat-banner-item::after {
        display: none;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-payments {
        justify-content: center;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
        padding: 0 20px;
    }
    
    /* Typography */
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin: 20px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Pricing */
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-switch {
        flex-direction: column;
        gap: 15px;
    }
    
    /* CTA */
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    /* Features Page Specific */
    .feature-detail-card {
        padding: 25px;
    }
    
    .feature-detail-content h3 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .special-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Steps */
    .step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Platforms */
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Stats Banner */
    .stats-banner {
        padding: 60px 0;
    }
    
    .stat-banner-item {
        min-width: 150px;
        padding: 15px;
    }
    
    .stat-banner-item h3 {
        font-size: 2.5rem;
    }
    
    .stat-banner-item p {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Navigation */
    .nav-actions {
        gap: 10px;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .btn-login {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary, .btn-outline, .btn-login {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Cards */
    .feature-card, .pricing-card, .special-feature-card, .platform-card {
        padding: 20px;
    }
    
    .price {
        font-size: 2.2rem;
    }
    
    /* Hero */
    .hero-image img {
        border-radius: 10px;
    }
    
    .hero-badges {
        gap: 10px;
    }
    
    .hero-badge {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    /* Features Page Specific */
    .feature-detail-card {
        padding: 20px;
    }
    
    .feature-detail-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .server-count {
        gap: 15px;
    }
    
    .count-item {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .count-item h4 {
        font-size: 1.8rem;
    }
    
    .count-item p {
        font-size: 0.8rem;
    }
    
    /* Stats Banner */
    .stat-banner-item {
        min-width: 120px;
        padding: 10px;
    }
    
    .stat-banner-item h3 {
        font-size: 2rem;
    }
    
    .stat-banner-item p {
        font-size: 0.9rem;
    }
    
    /* Mobile Menu */
    .mobile-menu {
        padding: 15px;
    }
    
    .mobile-menu a {
        padding: 12px 0;
        font-size: 0.95rem;
    }
    
    /* Logo */
    .logo span {
        font-size: 1.3rem;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
}

/* Very small devices (less than 400px) */
@media (max-width: 399.98px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .feature-detail-content h3 {
        font-size: 1.3rem;
    }
    
    .platform-card i {
        font-size: 2.5rem;
    }
    
    .special-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stats-banner .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-banner-item {
        width: 100%;
    }
}

/* Orientation specific */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero .container {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .mobile-menu {
        max-height: 300px;
    }
}

/* Print media */
@media print {
    .navbar,
    .mobile-menu-btn,
    .theme-toggle,
    .footer,
    .cta-section,
    .hero-buttons {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff !important;
        font-size: 12pt;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    h1, h2, h3 {
        color: #000 !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: none !important;
    }
    
    .feature-card,
    .pricing-card,
    .feature-detail-card,
    .special-feature-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0056b3;
        --secondary-color: #00875a;
        --dark-color: #000000;
        --light-color: #ffffff;
    }
    
    .btn-primary, .btn-secondary {
        border: 2px solid currentColor;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode system preference */
@media (prefers-color-scheme: dark) {
    body:not(.light-mode) {
        --dark-color: #f1f5f9;
        --light-color: #0f172a;
        --gray-color: #94a3b8;
        --gray-light: #1e293b;
    }
}

/* Light mode system preference */
@media (prefers-color-scheme: light) {
    body:not(.dark-mode) {
        --dark-color: #1e293b;
        --light-color: #ffffff;
        --gray-color: #64748b;
        --gray-light: #f1f5f9;
    }
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #ffffff;
    --gray-color: #64748b;
    --gray-light: #f1f5f9;
    --gray-dark: #334155;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    transition: var(--transition);
    overflow-x: hidden;
}

body.dark-mode {
    --dark-color: #f1f5f9;
    --light-color: #0f172a;
    --gray-color: #94a3b8;
    --gray-light: #1e293b;
    --gray-dark: #cbd5e1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
    line-height: 1.7;
}

.highlight {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-outline, .btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    border: none;
    font-size: 1rem;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-login {
    background-color: transparent;
    color: var(--dark-color);
    padding: 10px 20px;
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

body.dark-mode .navbar {
    background-color: var(--gray-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    z-index: 1001;
    padding: 10px 0;
    top: 100%;
    left: 0;
}

body.dark-mode .dropdown-content {
    background-color: var(--gray-dark);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--dark-color);
    width: 100%;
}

.dropdown-content a:hover {
    background-color: var(--gray-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.theme-toggle:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.mobile-menu-btn:hover {
    background-color: var(--gray-light);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: var(--gray-color);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* ===== FEATURES SECTION (Homepage) ===== */
.features-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    height: 100%;
}

body.dark-mode .feature-card {
    background-color: var(--gray-light);
    border-color: var(--gray-dark);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* ===== PRICING SECTION ===== */
.pricing-preview {
    padding: 100px 0;
    background-color: var(--gray-light);
}

body.dark-mode .pricing-preview {
    background-color: var(--dark-color);
}

.pricing-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-color);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 5px;
    display: inline-block;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

body.dark-mode .pricing-card {
    background-color: var(--gray-light);
    border-color: var(--gray-dark);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.pricing-card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--dark-color);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1;
}

.price sup {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 500;
}

.price span {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.pricing-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--dark-color);
}

.pricing-card li i.fa-check {
    color: var(--success-color);
}

.pricing-card li i.fa-times {
    color: var(--danger-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary:hover {
    background-color: var(--gray-light);
    color: white;
}

.small-text {
    font-size: 0.9rem;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 2;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 30px;
}

body.dark-mode .footer {
    background-color: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-payments {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

body.dark-mode .mobile-menu {
    background-color: var(--gray-light);
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: var(--dark-color);
    border-bottom: 1px solid var(--gray-light);
    font-weight: 500;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu.active {
    display: block;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    color: var(--dark-color);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background-color: var(--gray-dark);
    border-color: var(--gray-color);
    color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* ===== UTILITY CLASSES ===== */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-4 { padding-top: 2rem; }
.pb-4 { padding-bottom: 2rem; }

/* ===== RESPONSIVE DESIGN ===== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-switch {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .nav-actions {
        gap: 15px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-secondary, .btn-outline, .btn-login {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-large {
        padding: 12px 24px;
    }
    
    .feature-card, .pricing-card {
        padding: 20px 15px;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .hero-image img {
        border-radius: 10px;
    }
    
    .mobile-menu {
        padding: 15px;
    }
}

/* Dark mode specific fixes */
body.dark-mode img {
    opacity: 0.9;
}

body.dark-mode .hero-image img {
    filter: brightness(0.9);
}

/* Animation for page transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: fadeIn 0.5s ease-out;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu-btn,
    .theme-toggle,
    .footer {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}