/* Landing Page Styles - Rascon MVP */

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

:root {
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --color-bg: #050505;
    --color-card-bg: rgba(20, 20, 20, 0.6);
    --color-accent-red: #DC143C;
    --color-accent-gold: #FFD700;
    --color-accent-green: #00FF87;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: #ffffff;
    overflow-x: hidden;
}

/* Grain texture overlay */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 100;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #DC143C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: #FFD700;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 4rem;
}

.hero-content {
    position: relative;
    z-index: 50;
    text-align: center;
    max-width: 1100px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 168, 107, 0.1);
    border: 1px solid rgba(0, 168, 107, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #00FF87;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 135, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.hero-badge::before {
    content: '●';
    color: #00FF87;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

h1 {
    font-size: 6.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -4px;
}

.hero-title-line1 {
    background: linear-gradient(135deg, #ffffff 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-line2 {
    background: linear-gradient(135deg, #DC143C 0%, #FFD700 50%, #00FF87 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.email-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    outline: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.email-input:focus {
    border-color: #FFD700;
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.email-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-notify {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    color: white;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
    white-space: nowrap;
}

.btn-notify:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(220, 20, 60, 0.5);
}

.btn-notify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-subtext {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Content Sections */
.content-section {
    position: relative;
    z-index: 50;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 4rem;
}

.content-section.first-section {
    padding-top: 3rem;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #DC143C, #FFD700, #00FF87);
    margin: 0 auto 3rem;
    border-radius: 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.feature-card {
    background: var(--color-card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    --mouse-x: 0px;
    --mouse-y: 0px;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.feature-card.accent-red { --accent: #DC143C; }
.feature-card.accent-gold { --accent: #FFD700; }
.feature-card.accent-green { --accent: #00FF87; }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.feature-tier {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: auto;
    display: inline-block;
    position: relative;
    z-index: 2;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.solution-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s;
    position: relative;
    --mouse-x: 0px;
    --mouse-y: 0px;
}

.solution-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

.solution-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #DC143C, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.solution-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.solution-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    --mouse-x: 0px;
    --mouse-y: 0px;
}

.pricing-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card.featured {
    border-color: #FFD700;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.pricing-tier {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.pricing-features li::before {
    content: '✓';
    color: #00FF87;
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

/* Floating Glass Cards */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.glass-card {
    position: absolute;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: float-card 6s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    left: 8%;
    width: 280px;
    border-left: 3px solid #DC143C;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 10%;
    width: 300px;
    border-left: 3px solid #FFD700;
    animation-delay: 2s;
}

.card-3 {
    bottom: 12%;
    left: 12%;
    width: 260px;
    border-left: 3px solid #00FF87;
    animation-delay: 4s;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-25px) rotateX(5deg);
    }
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.card-stat {
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 900;
}

.card-1 .card-stat { color: #DC143C; }
.card-2 .card-stat { color: #FFD700; }
.card-3 .card-stat { color: #00FF87; }

/* Footer */
footer {
    position: relative;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 3rem 4rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #DC143C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FFD700;
    transition: width 0.3s;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    max-width: 1400px;
    margin: 2.5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .glass-card {
        display: none;
    }
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1.5rem 2rem;
    }

    .nav-menu {
        display: none;
    }

    h1 {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .email-form {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .email-input {
        width: 100%;
    }

    .btn-notify {
        width: 100%;
    }

    .content-section {
        padding: 5rem 2rem;
    }

    .content-section.first-section {
        padding-top: 2rem;
    }

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

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

    footer {
        padding: 2rem 1.5rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
