/* KastrolNet.cz - Pure CSS */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --gray-100: #f3f4f6;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background-color: var(--gray-950);
    color: var(--gray-100);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(to right, var(--red-500), var(--red-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

/* Layout */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.text-center {
    text-align: center;
}

/* Grid */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Buttons */
.button-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, var(--red-500), var(--red-600));
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.25);
}

.button-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--gray-300);
    border: 1px solid var(--gray-700);
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button-secondary:hover {
    border-color: var(--red-500);
    color: var(--red-400);
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .button-primary, .button-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Cards */
.card {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid var(--gray-800);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--gray-700);
}

.glass-effect {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--gray-800);
    backdrop-filter: blur(12px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-800);
}

.navbar-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.nav-logo img {
    height: 3rem;
    width: auto;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-300);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--red-400);
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--gray-300);
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .nav-toggle {
        display: none;
    }
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-800);
    padding: 1rem;
    z-index: 40;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-300);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--gray-800);
    color: var(--red-400);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 56rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
    .hero p {
        font-size: 1.25rem;
    }
}

/* Sections */
section {
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    section {
        padding: 5rem 1rem;
    }
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-400);
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--red-500);
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-icon svg {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover animation */
.service-card:hover .service-icon {
    transform: translateY(-6px) scale(1.1);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
    box-shadow: 
        0 12px 30px rgba(239, 68, 68, 0.3),
        0 0 40px rgba(239, 68, 68, 0.15);
}

.service-card:hover .service-icon svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.6));
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-100);
}

.service-card p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--red-500);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Nejoblíbenější';
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--red-500), var(--red-600));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-100);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-100);
    margin-bottom: 0.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-400);
}

.pricing-card ul {
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card ul li svg {
    color: var(--green-500);
    flex-shrink: 0;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    background: rgba(30, 30, 40, 0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.5s ease,
                z-index 0s 0.5s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-item:hover {
    transform: scale(1.8);
    box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.8),
                0 0 50px rgba(255, 59, 48, 0.4);
    border-color: rgba(255, 59, 48, 0.6);
    z-index: 100;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.5s ease,
                z-index 0s 0s;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.1), transparent, rgba(138, 43, 226, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay .portfolio-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.3s ease 0.1s, opacity 0.3s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay .portfolio-category {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.35rem;
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.3s ease 0.15s, opacity 0.3s ease 0.15s;
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay p {
    color: var(--gray-400);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.3s ease 0.2s, opacity 0.3s ease 0.2s;
}

.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay .button-primary {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.3s ease 0.25s, opacity 0.3s ease 0.25s,
                background 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay .button-primary {
    transform: translateY(0);
    opacity: 1;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.5rem;
    color: var(--gray-100);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-500);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-item svg {
    color: var(--red-500);
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-weight: 500;
    color: var(--gray-100);
    font-size: 0.875rem;
}

.contact-info-item p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--gray-950);
    border-top: 1px solid var(--gray-800);
    padding: 3rem 1rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand p {
    color: var(--gray-400);
    margin: 1rem 0;
    font-size: 0.875rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
    font-size: 0.875rem;
}

.footer-contact-item svg {
    color: var(--red-500);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.footer h4 {
    font-weight: 600;
    color: var(--gray-100);
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul a {
    color: var(--gray-400);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer ul a:hover {
    color: var(--red-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--red-400);
}

/* Background effects */
.bg-effects {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    background: var(--gray-950);
}

/* Animated Matrix/Code Rain Grid */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(239, 68, 68, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(239, 68, 68, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; background-size: 60px 60px; }
    50% { opacity: 0.5; background-size: 65px 65px; }
}

/* Floating particles */
.bg-effects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(239, 68, 68, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(248, 113, 113, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(239, 68, 68, 0.4), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(248, 113, 113, 0.3), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 250px 160px, rgba(239, 68, 68, 0.3), transparent),
        radial-gradient(2px 2px at 300px 100px, rgba(248, 113, 113, 0.4), transparent);
    background-size: 350px 200px;
    animation: particleFloat 25s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-200px) translateX(50px); }
}

/* Main glow orbs */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.02) 40%, transparent 70%);
    filter: blur(60px);
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-glow:nth-child(2) {
    animation-delay: -5s;
    animation-duration: 25s;
}

.bg-glow:nth-child(3) {
    animation-delay: -10s;
    animation-duration: 30s;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.06) 0%, rgba(220, 38, 38, 0.02) 40%, transparent 70%);
}

@keyframes orbFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translate(100px, -80px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50px, 50px) scale(0.9);
        opacity: 0.5;
    }
    75% { 
        transform: translate(80px, 100px) scale(1.05);
        opacity: 0.7;
    }
}

/* Flowing code lines */
.bg-effects::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 4px,
            rgba(239, 68, 68, 0.015) 4px,
            rgba(239, 68, 68, 0.015) 5px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 100px,
            rgba(239, 68, 68, 0.01) 100px,
            rgba(239, 68, 68, 0.01) 101px
        );
    animation: codeScroll 30s linear infinite;
}

@keyframes codeScroll {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 1000px 0, 0 -500px; }
}

/* Neural network connection lines */
.bg-neural {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(239, 68, 68, 0.03) 49%, rgba(239, 68, 68, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(248, 113, 113, 0.02) 49%, rgba(248, 113, 113, 0.02) 51%, transparent 52%);
    background-size: 80px 80px;
    animation: neuralPulse 15s ease-in-out infinite;
}

@keyframes neuralPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

/* Scanning line effect */
.bg-scan {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(239, 68, 68, 0.1) 20%, 
        rgba(239, 68, 68, 0.6) 50%, 
        rgba(239, 68, 68, 0.1) 80%, 
        transparent 100%
    );
    box-shadow: 
        0 0 20px rgba(239, 68, 68, 0.5),
        0 0 60px rgba(239, 68, 68, 0.3),
        0 0 100px rgba(239, 68, 68, 0.1);
    animation: scanMove 8s ease-in-out infinite;
}

@keyframes scanMove {
    0%, 100% { top: -2px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100vh; opacity: 0; }
}

/* Data stream vertical lines */
.bg-streams {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bg-streams::before,
.bg-streams::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 1px;
    height: 200%;
    background: linear-gradient(180deg,
        transparent 0%,
        transparent 40%,
        rgba(239, 68, 68, 0.4) 50%,
        transparent 60%,
        transparent 100%
    );
    animation: streamFall 12s linear infinite;
}

.bg-streams::before {
    left: 15%;
    animation-delay: 0s;
}

.bg-streams::after {
    left: 75%;
    animation-delay: -4s;
    opacity: 0.6;
}

@keyframes streamFall {
    0% { transform: translateY(0); }
    100% { transform: translateY(50%); }
}

/* Corner accents */
.bg-corner-tl,
.bg-corner-br {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.4;
}

.bg-corner-tl {
    top: 0;
    left: 0;
    background: 
        linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(135deg, transparent 0px, transparent 10px, rgba(239, 68, 68, 0.05) 10px, rgba(239, 68, 68, 0.05) 11px);
    animation: cornerPulse 10s ease-in-out infinite;
}

.bg-corner-br {
    bottom: 0;
    right: 0;
    background: 
        linear-gradient(-45deg, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(-45deg, transparent 0px, transparent 10px, rgba(239, 68, 68, 0.05) 10px, rgba(239, 68, 68, 0.05) 11px);
    animation: cornerPulse 10s ease-in-out infinite reverse;
}

@keyframes cornerPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Hex pattern overlay */
.bg-hex {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ef4444' fill-opacity='0.1'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: hexDrift 40s linear infinite;
}

@keyframes hexDrift {
    0% { background-position: 0 0; }
    100% { background-position: 280px 490px; }
}

/* Page wrapper */
.page-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* Utilities */
.text-red-500 {
    color: var(--red-500);
}

.text-gray-400 {
    color: var(--gray-400);
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Check icon for pricing */
.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #22c55e;
}
