/* ===== CSS Reset & Base Styles ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    --secondary: #06b6d4;
    --accent: #f59e0b;

    /* Light Theme */
    --bg-light: #ffffff;
    --bg-card: #f8fafc;
    --bg-card-hover: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #66ed3a 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.15) 0%, transparent 70%);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;

    /* Effects */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #c70000;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #c70000;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: #c70000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--bg-light);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 550px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ===== Tab Section ===== */
.tabs-section {
    padding: 60px 0;
    background: var(--bg-light);
}

/* Tabs Container */
.tabs-container {
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    background: var(--bg-card);
    border-bottom: 1px solid #e5e7eb;
    padding: 0 20px;
}

.tab-btn {
    padding: 16px 32px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #1e293b;
    transform: scaleX(0);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.tab-btn.active {
    color: #1e293b;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.03);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

/* Tabs Content */
.tabs-content {
    padding: 40px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tab-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tab-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), transparent);
    z-index: 1;
}

.tab-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.tab-image:hover img {
    transform: scale(1.05);
}

.tab-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tab-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list .check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    text-align: center;
    background: var(--bg-card);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-wrapper {
        max-width: 400px;
    }

    .floating-card {
        display: none;
    }

    .tab-content-grid {
        grid-template-columns: 1fr;
    }

    .tab-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        min-width: 100%;
        justify-content: flex-start;
        padding: 16px 20px;
    }

    .tab-btn::after {
        left: 0;
        right: auto;
        width: 3px;
        height: 100%;
        transform: scaleY(0);
    }

    .tab-btn.active::after {
        transform: scaleY(1);
    }

    .tabs-content {
        padding: 24px;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}