@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #e31e24;
    --primary-hover: #c4191f;
    --secondary: #1a1a1a;
    --accent: #f8f9fa;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --white: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --max-width: 1280px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background: var(--accent);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

p {
    color: var(--text-muted);
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

.section-padding {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* General UI Components */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.glass-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.btn-outline {
    border: 2px solid var(--border);
    background: white;
}

.btn-outline:hover {
    background: #f8f8f8;
    border-color: var(--text-main);
}

/* Header */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 12px 0;
}

header .nav-bg {
    position: absolute;
    inset: 0;
    margin: 0 24px;
    border-radius: 22px;
    opacity: 0;
    transition: var(--transition);
}

header.scrolled .nav-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

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

.logo-box {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
}

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

.nav-links a {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
}

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

/* Animations */
@keyframes blob-float {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -10;
    opacity: 0.1;
    animation: blob-float 20s infinite ease-in-out;
}

/* Hero Section */
.hero {
    padding-top: 200px;
    padding-bottom: 150px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content h1 {
    font-size: 80px;
    margin-bottom: 24px;
}

.hero-content .subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 999px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-image {
    position: relative;
}

.hero-image .mockup-container {
    background: white;
    border-radius: 32px;
    padding: 0;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-top: 40px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    padding: 40px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #fef2f2;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

/* Pricing cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    padding: 50px;
    text-align: center;
    position: relative;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary);
    z-index: 10;
}

.price-tag {
    font-size: 48px;
    font-weight: 900;
    margin: 24px 0;
}

.price-tag span {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-card ul {
    text-align: left;
    margin: 32px 0;
}

.pricing-card ul li {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 60px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .nav-links {
        display: none;
    }
}