:root {
    /* Splatra Colors (Professional) */
    --splatra-bg: #0f172a;
    --splatra-white: #ffffff;
    --splatra-blue: #2563eb;
    --splatra-text: #94a3b8;

    /* Tomatix Colors (Chaotic) */
    --tomatix-bg: #000000;
    --tomatix-red: #e11d48;
    --tomatix-dark-red: #9f1239;
    --tomatix-text: #f87171;
    --tomatix-accent: #fbbf24;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--splatra-bg);
    color: var(--splatra-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
}

/* --- SPLATRA SECTION --- */
.splatra-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.navbar {
    padding: 2rem 5%;
    display: flex;
    justify-content: flex-start;
}

.splatra-logo-img {
    height: 90px;
    object-fit: contain;
}

.splatra-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5% 5rem 5%; /* Added bottom padding to avoid indicator */
    gap: 2rem;
}

.splatra-content {
    max-width: 600px;
    animation: fadeIn 1s ease-out;
}

.splatra-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--splatra-white), var(--splatra-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.splatra-subtitle {
    font-size: 1.25rem;
    color: var(--splatra-text);
}

.splatra-header-img-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-bottom: 4rem; /* Lifts the image up */
    animation: float 6s ease-in-out infinite;
}

.splatra-header-img {
    max-width: 100%;
    max-height: 55vh; /* Reduced slightly to ensure it doesn't hit the bottom */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--splatra-text);
    font-size: 0.875rem;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

.arrow-down {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--splatra-blue));
    margin-top: 10px;
}

/* --- TRANSITION --- */
.transition-divider {
    height: 150px;
    background: linear-gradient(to bottom, var(--splatra-bg), var(--tomatix-bg));
    position: relative;
    z-index: 10;
}

/* --- TOMATIX SECTION --- */
.tomatix-section {
    background-color: var(--tomatix-bg);
    color: white;
}

.tomatix-hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.tomatix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.tomatix-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.tomatix-logo {
    height: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(225, 29, 72, 0.5));
    animation: shake 5s infinite;
}

.tomatix-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--tomatix-red);
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0px var(--tomatix-dark-red), -2px -2px 0px #000;
    margin-bottom: 1rem;
}

.tomatix-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 3rem;
}

.tomatix-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

.free-badge {
    background-color: #10b981;
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-danger {
    background-color: var(--tomatix-red);
    color: white;
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.4);
}

.btn-danger:hover {
    background-color: var(--tomatix-dark-red);
    box-shadow: 0 0 30px rgba(225, 29, 72, 0.6);
    transform: scale(1.05);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #333;
    color: white;
}

.btn-outline:hover {
    border-color: var(--tomatix-text);
    color: var(--tomatix-text);
}

/* --- DETAILS SECTION --- */
.tomatix-details {
    padding: 5rem 0;
    background-image: radial-gradient(circle at center, #111 0%, #000 100%);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-block {
    margin-bottom: 6rem;
}

.section-block h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--splatra-white);
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.section-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #a3a3a3;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--tomatix-red);
}

.feature-card h3 {
    color: var(--tomatix-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Media Placeholders */
.media-placeholders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.gif-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #1a1a1a;
    border: 2px dashed #444;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-family: monospace;
    font-size: 1.2rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #111;
    border: 1px solid #333;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.pricing-card.pro {
    border-color: var(--tomatix-red);
    box-shadow: 0 0 30px rgba(225, 29, 72, 0.1);
}

.pro-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tomatix-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 3rem;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 1rem;
    color: #ccc;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tomatix-red);
    font-weight: bold;
}

/* FAQ */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: #000;
    color: #444;
    border-top: 1px solid #111;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(2deg);
    }

    75% {
        transform: rotate(-2deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .splatra-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .splatra-logo-img {
        height: 70px;
    }

    .splatra-header-img-container {
        width: 90%;
        max-width: 400px;
        margin-top: 2rem;
        margin-bottom: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .splatra-header-img {
        width: 100%;
    }

    .splatra-title {
        font-size: 2.5rem;
    }

    .tomatix-title {
        font-size: 2.5rem;
    }

    .media-placeholders {
        grid-template-columns: 1fr;
    }
}