/* AI-Presso */

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

:root {
    /* Brand colors - WordPress Blue */
    --orange: #21759b;
    --orange-light: #00a0d2;
    --blue: #00d4ff;
    --purple: #bf5af2;
    --pink: #ff2d55;

    /* Background */
    --bg-primary: #050508;
    --bg-secondary: rgba(255, 255, 255, 0.02);
    --bg-tertiary: rgba(255, 255, 255, 0.05);
    --bg-hover: rgba(255, 255, 255, 0.08);

    /* Borders */
    --border-primary: rgba(255, 255, 255, 0.06);
    --border-secondary: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --text-muted: rgba(255, 255, 255, 0.4);
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none;
}

/* Neural Network Canvas */
#neural-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* Gradient overlay */
.gradient-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 50% 50% at 50% 50%, transparent 0%, rgba(5, 5, 8, 0.8) 100%);
    pointer-events: none;
}

/* Custom cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(33, 117, 155, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: rgba(33, 117, 155, 0.1);
    border-color: var(--orange);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(33, 117, 155, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo:hover .logo-icon {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(33, 117, 155, 0.5);
}

.logo-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-ai {
    color: var(--blue);
}

.logo-dash {
    color: rgba(255, 255, 255, 0.3);
}

.logo-gento {
    color: var(--orange);
}

/* Language button */
.lang-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 100px;
    color: var(--text-tertiary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* Main page */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

/* Hero section */
.hero {
    text-align: center;
    max-width: 900px;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 100px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--orange);
}

.badge-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

/* Title */
.title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.1em;
}

.title-line span {
    display: inline-block;
    animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.title-line:nth-child(1) span { animation-delay: 0.4s; }
.title-line:nth-child(2) span { animation-delay: 0.6s; }

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Title colors */
.title-line:nth-child(1) span {
    color: var(--text-primary);
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.title-line:nth-child(1) .neon-blue {
    color: var(--blue);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.title-line:nth-child(2) span {
    color: var(--orange);
    text-shadow: 0 0 8px rgba(33, 117, 155, 0.4);
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Subtitle */
.subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.8s both;
}

/* Features */
.features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: none;
}

.feature:hover {
    background: var(--bg-tertiary);
    border-color: rgba(33, 117, 155, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(33, 117, 155, 0.3);
}

.feature-icon.icon-ai {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.3);
}

.feature-icon.icon-check {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

.feature-icon svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.feature span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Pills (UI Kit) */
.pill-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 100px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: none;
}

.pill:hover {
    transform: translateY(-2px);
}

.pill svg {
    width: 16px;
    height: 16px;
}

.pill-orange {
    background: rgba(33, 117, 155, 0.12);
    border-color: rgba(33, 117, 155, 0.25);
    color: var(--orange-light);
}

.pill-orange:hover {
    background: rgba(33, 117, 155, 0.18);
    border-color: rgba(33, 117, 155, 0.4);
    box-shadow: 0 4px 20px rgba(33, 117, 155, 0.2);
}

.pill-blue {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.25);
    color: var(--blue);
}

.pill-blue:hover {
    background: rgba(0, 212, 255, 0.18);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.pill-purple {
    background: rgba(191, 90, 242, 0.12);
    border-color: rgba(191, 90, 242, 0.25);
    color: var(--purple);
}

.pill-purple:hover {
    background: rgba(191, 90, 242, 0.18);
    border-color: rgba(191, 90, 242, 0.4);
    box-shadow: 0 4px 20px rgba(191, 90, 242, 0.2);
}

/* Buttons (UI Kit) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(33, 117, 155, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(33, 117, 155, 0.4);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Form elements (UI Kit) */
.form-input {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
    cursor: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    margin-top: 3rem;
    animation: fadeInUp 1s ease 1.2s both;
}

.cta-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.cta-form .form-input {
    flex: 1;
    min-width: 0;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    z-index: 100;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.footer-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: none;
}

.footer-link:hover {
    color: var(--blue);
}

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

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .cursor, .cursor-dot {
        display: none;
    }

    body {
        cursor: auto;
    }

    body *, body *::before, body *::after {
        cursor: auto !important;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-icon svg {
        width: 18px;
        height: 18px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .pill-row {
        flex-direction: column;
        align-items: center;
    }

    .pill {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .cta-form {
        flex-direction: column;
        padding: 0 1rem;
    }

    .cta-form .form-input {
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer {
        padding: 1rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-links {
        gap: 1rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
