/* Modern CSS Reset & Variables */
:root {
    /* Color Palette */
    --primary-color: #2563EB;
    /* Vibrant Blue */
    --primary-hover: #1D4ED8;
    --secondary-color: #1E293B;
    /* Dark Slate */
    --text-color: #334155;
    --text-light: #64748B;
    --bg-color: #F8FAFC;
    --bg-dark-blue: #123f96;
    --bg-purple: #673ab7;
    --bg-light-gray: #ececec;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 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);

    /* Transitions */
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 120px);
    padding-bottom: 200px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(37, 99, 235, 0.7));
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

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

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 800;
}

.white-text {
    color: var(--white) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #60A5FA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid #E2E8F0;
    padding-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Hero Visual (Glassmorphism) */
.hero-visual {
    position: relative;
    height: 500px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: absolute;
}

.card-1 {
    width: 300px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

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

.red {
    background: #EF4444;
}

.yellow {
    background: #F59E0B;
}

.green {
    background: #10B981;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.line {
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
}

.w-75 {
    width: 75%;
}

.w-50 {
    width: 50%;
}

.chart-area {
    margin-top: auto;
    height: 120px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 100%);
    border-radius: 12px;
    border-top: 2px solid var(--primary-color);
}

.card-2 {
    width: 200px;
    padding: 20px;
    bottom: 40px;
    left: 0;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

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

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

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

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Section */
.section {
    padding: 80px 0;
}

.center {
    text-align: center;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

/* Integrations Section */
.integration-card {
    transition: var(--transition);
}

.integration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color) !important;
}

/* Pricing Section */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.price-box {
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

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

.features-list {
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: #10B981;
    flex-shrink: 0;
}

/* Footer Highlights */
.cta-section {
    background: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-desc {
    color: #94A3B8;
    margin-bottom: 40px;
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 80px 0 40px;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.copyright {
    border-top: 1px solid #1E293B;
    padding-top: 40px;
    text-align: center;
    font-size: 0.875rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
}

/* Responsive Media Queries */
@media (max-width: 968px) {
    .container {
        width: 90%;
    }

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

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 20px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-visual {
        display: none;
    }

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

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

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

    .pricing-card {
        width: 100%;
        max-width: 100%;
    }

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

    .section {
        padding: 60px 0;
    }
}

/* Utility Classes */
.center-content {
    margin: 0 auto;
    text-align: center;
    max-width: 800px;
}

.center-btns {
    justify-content: center;
}

/* Background Utilities */
.bg-dark-blue {
    background-color: var(--bg-dark-blue);
    color: var(--white);
}

.bg-purple {
    background-color: var(--bg-purple);
    color: var(--white);
}

.bg-light-gray {
    background-color: var(--bg-light-gray);
}

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

.text-white {
    color: var(--white) !important;
}

.slide {
    display: block !important;
}