:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #0f172a;
    --accent: #10b981;
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

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

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

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

p {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background-color: rgba(15, 23, 42, 0.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Header Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 120px;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background elements for rich aesthetics */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero h2 {
    color: white;
}

.hero p {
    color: #cbd5e1;
    margin-bottom: 40px;
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.hero .btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mockup Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-12deg) rotateX(8deg);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-panel:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-title {
    margin-left: 10px;
    font-size: 0.8rem;
    color: #94a3b8;
    font-family: monospace;
}

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

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #10b981;
}

.mockup-body {
    padding: 24px;
}

.data-row {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 2.4fr 1.2fr 1.1fr;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.875rem;
    transition: background 0.3s ease;
}

.data-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.data-row .plate {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #e2e8f0;
}

.data-row .text {
    background: #f59e0b;
    color: #0f172a;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 800;
    text-align: center;
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.data-row .time {
    color: #94a3b8;
    text-align: right;
    font-family: monospace;
}

/* Features */
.features-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 40px;
    background: var(--bg-main);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    background: white;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

/* How It Works */
.how-it-works {
    padding: 80px 0 100px;
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.workflow-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.workflow-step {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid var(--border-color);
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.workflow-arrow {
    flex: 0.5;
    text-align: center;
    font-size: 32px;
    color: var(--text-light);
    opacity: 0.5;
}

/* Pricing */
.pricing-section {
    padding: 40px 0;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background elements for rich aesthetics */
.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.pricing-section .container {
    position: relative;
    z-index: 10;
}

.pricing-section h2,
.pricing-section p {
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
    margin-top: 50px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: white;
    transform: translateZ(0);
    will-change: transform;
}

.pricing-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(37, 99, 235, 0.5);
    border-color: var(--primary);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card h3 {
    color: white;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-top: 16px;
    letter-spacing: -1px;
}

.price span {
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 500;
    letter-spacing: 0;
}

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

.card-body ul {
    margin-bottom: 40px;
    flex: 1;
}

.card-body li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #e2e8f0;
    font-size: 1.05rem;
}

.card-body li strong {
    color: white;
}

.card-body li i {
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
}

.pricing-card .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.pricing-card .btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-desc {
    color: #94a3b8;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.footer-links a {
    color: #cbd5e1;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        gap: 40px;
    }

    .data-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .data-row .time {
        text-align: center;
    }
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 50px auto 0;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero {
        text-align: center;
        padding-top: 140px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .glass-panel {
        transform: none !important;
        margin: 0 auto;
        max-width: 500px;
    }

    .workflow-container {
        flex-direction: column;
        gap: 20px;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}