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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-400: #9ca3af;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --success: #16a34a;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --background: #ffffff;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

/* Navigation */
.navbar {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.logo img {
    height: 4rem;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

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

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-content h1 {
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.hero-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Graphic Card */
.hero-graphic {
    display: flex;
    justify-content: center;
}

.graphic-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
}

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

.circle-red { background: #ff5f57; }
.circle-yellow { background: #ffbd44; }
.circle-green { background: #29c940; }

.card-content {
    padding: var(--spacing-lg);
    text-align: center;
}

.document-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 0;
    background: var(--gray-100);
}

.features h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-lg);
    background: white;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    color: var(--text-primary);
}

/* Use Cases Section */
.use-cases {
    padding: var(--spacing-2xl) 0;
    background: var(--gray-100);
}

.use-cases h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.use-case {
    padding: var(--spacing-lg);
    background: white;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.use-case:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.use-case h3 {
    color: var(--text-primary);
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.pricing h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.pricing-card {
    padding: var(--spacing-xl);
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: white;
    position: relative;
    transition: all 0.2s;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.15);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.currency {
    font-size: 1.5rem;
}

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

.period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.features-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

/* Security Section */
.security {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.security h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.security-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--gray-100);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.security-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

/* CTA Section */
.cta {
    padding: var(--spacing-2xl) 0;
    background: var(--primary);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

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

.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding: var(--spacing-xl) 0;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        display: block;
        width: 100%;
    }

    .nav-links {
        gap: var(--spacing-md);
    }

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

    .features-grid,
    .use-cases-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .nav-links {
        gap: var(--spacing-sm);
        font-size: 0.9rem;
    }

    .price {
        font-size: 2rem;
    }
}
