/* SlopSquid Landing Page Styles 🦑 */

:root {
    /* Ocean Blue Palette */
    --ocean-deep: #0f172a;
    --ocean-dark: #1e293b;
    --ocean-medium: #334155;
    --ocean-light: #475569;
    --ocean-surface: #64748b;

    /* Hot Pink Palette */
    --pink-hot: #ff1493;
    --pink-warm: #ff69b4;
    --pink-soft: #ffb3d9;
    --pink-glow: rgba(255, 20, 147, 0.3);

    /* Purple Accents */
    --purple-deep: #4c1d95;
    --purple-medium: #7c3aed;
    --purple-light: #a855f7;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-light: #e2e8f0;
    --gray-medium: #94a3b8;
}

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

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--ocean-deep);
    overflow-x: hidden;
}

/* Ocean Background Animation */
.ocean-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(
        135deg,
        var(--ocean-deep) 0%,
        var(--ocean-dark) 25%,
        var(--ocean-medium) 50%,
        var(--ocean-dark) 75%,
        var(--ocean-deep) 100%
    );
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 20, 147, 0.1) 0%,
        rgba(124, 58, 237, 0.05) 40%,
        transparent 70%
    );
    animation: float 20s ease-in-out infinite;
}

.wave1 {
    top: -50%;
    left: -50%;
    animation-delay: 0s;
}

.wave2 {
    top: -30%;
    right: -50%;
    animation-delay: -7s;
}

.wave3 {
    bottom: -50%;
    left: -30%;
    animation-delay: -14s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Code Block */
.hero-code {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--ocean-medium);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-code code {
    color: var(--pink-warm);
    font-family: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", monospace;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tentacle Animation */
.tentacle-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.tentacle {
    position: absolute;
    width: 3px;
    height: 60px;
    background: linear-gradient(to bottom, var(--pink-hot), transparent);
    border-radius: 2px;
    animation: tentacle-wave 3s ease-in-out infinite;
}

.tentacle.t1 {
    top: 20px;
    left: 30px;
    animation-delay: 0s;
    transform-origin: top center;
}

.tentacle.t2 {
    top: 40px;
    right: 20px;
    animation-delay: 0.5s;
    transform-origin: top center;
}

.tentacle.t3 {
    bottom: 30px;
    left: 50px;
    animation-delay: 1s;
    transform-origin: bottom center;
}

.tentacle.t4 {
    bottom: 20px;
    right: 40px;
    animation-delay: 1.5s;
    transform-origin: bottom center;
}

@keyframes tentacle-wave {
    0%,
    100% {
        transform: rotate(0deg) scaleY(1);
    }
    25% {
        transform: rotate(15deg) scaleY(1.2);
    }
    75% {
        transform: rotate(-10deg) scaleY(0.8);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 20, 147, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.logo-text {
    background: linear-gradient(45deg, var(--pink-hot), var(--purple-medium));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(
        45deg,
        var(--pink-hot),
        var(--purple-light),
        var(--pink-warm)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%,
    100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(30deg);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--pink-hot), var(--purple-medium));
    color: var(--white);
    box-shadow: 0 10px 30px var(--pink-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px var(--pink-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--pink-hot);
}

.btn-secondary:hover {
    background: var(--pink-hot);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-large small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Hero Visual */
.squid-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.squid-icon {
    font-size: 8rem;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.ink-splash {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pink-hot), var(--purple-medium));
    opacity: 0.6;
    animation: splash 4s ease-in-out infinite;
}

.splash1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.splash2 {
    width: 40px;
    height: 40px;
    bottom: 30%;
    right: 20%;
    animation-delay: 1.5s;
}

.splash3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 70%;
    animation-delay: 3s;
}

@keyframes splash {
    0%,
    100% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.3;
    }
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--white), var(--pink-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Grid */
.features {
    background: rgba(30, 41, 59, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 20, 147, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--pink-hot);
    box-shadow: 0 15px 30px rgba(255, 20, 147, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--pink-hot), var(--purple-medium));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--pink-soft);
}

.step-content p {
    color: var(--gray-light);
}

/* Demo Section */
.demo {
    background: rgba(30, 41, 59, 0.3);
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-sample {
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.demo-sample:hover {
    transform: translateX(10px);
}

.low-confidence {
    background: linear-gradient(
        90deg,
        rgba(255, 182, 193, 0.1) 0%,
        rgba(255, 192, 203, 0.15) 50%,
        rgba(255, 182, 193, 0.1) 100%
    );
    border-left: 3px solid rgba(255, 105, 180, 0.5);
}

.medium-confidence {
    background: linear-gradient(
        90deg,
        rgba(255, 99, 132, 0.15) 0%,
        rgba(255, 51, 102, 0.25) 50%,
        rgba(255, 99, 132, 0.15) 100%
    );
    border-left: 3px solid rgba(255, 51, 102, 0.7);
}

.high-confidence {
    background: linear-gradient(
        90deg,
        rgba(220, 20, 60, 0.2) 0%,
        rgba(255, 0, 100, 0.35) 50%,
        rgba(220, 20, 60, 0.2) 100%
    );
    border-left: 3px solid rgba(255, 0, 100, 0.9);
    animation: inkPulse 2s ease-in-out infinite;
}

@keyframes inkPulse {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(255, 0, 100, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 0, 100, 0.6);
    }
}

.confidence-label {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: var(--pink-hot);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Download Section */
.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--pink-soft);
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--gray-light);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--ocean-deep);
    border-top: 1px solid rgba(255, 20, 147, 0.2);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--pink-hot);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--ocean-medium);
    color: var(--gray-medium);
}

.footer-bottom a {
    color: var(--pink-hot);
    text-decoration: none;
}

/* CLI Demo Section */
.cli-examples {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.cli-example {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--ocean-medium);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cli-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid var(--ocean-medium);
}

.cli-title {
    font-weight: 600;
    color: var(--white);
}

.cli-confidence {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cli-confidence.low {
    background: rgba(255, 105, 180, 0.2);
    color: var(--pink-warm);
}

.cli-confidence.medium {
    background: rgba(255, 51, 102, 0.2);
    color: var(--pink-hot);
}

.cli-confidence.high {
    background: rgba(124, 58, 237, 0.2);
    color: var(--purple-light);
}

.cli-content {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.cli-content code {
    font-family: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--pink-soft);
    display: block;
}

/* Step Code Blocks */
.step-code {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border: 1px solid var(--ocean-medium);
}

.step-code code {
    font-family: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", monospace;
    font-size: 0.85rem;
    color: var(--pink-warm);
}

/* Use Cases Section */
.use-cases {
    padding: 6rem 0;
    background: rgba(30, 41, 59, 0.5);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case {
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--ocean-medium);
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.2);
}

.use-case h3 {
    margin-bottom: 1rem;
    color: var(--pink-hot);
    font-size: 1.25rem;
}

/* Install Section */
.install {
    padding: 6rem 0;
    background: rgba(15, 23, 42, 0.8);
}

.install-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.install-commands {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.install-box {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--ocean-medium);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.install-box h4 {
    margin-bottom: 1rem;
    color: var(--pink-hot);
    font-size: 1.1rem;
}

.command-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--ocean-light);
    border-radius: 8px;
    padding: 1rem;
    font-family: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", monospace;
}

.command-block code {
    color: var(--pink-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

.install-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-content,
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .squid-icon {
        font-size: 6rem;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .install-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .install-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .cli-content code {
        font-size: 0.8rem;
    }

    .hero-code code {
        font-size: 0.8rem;
    }

    .tentacle-lines {
        width: 150px;
        height: 150px;
    }
}
