/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-cyan: #10b981;
    --accent-blue: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(16, 185, 129, 0.1);
}

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

/* Animated gradient orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #059669 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 1rem 0 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Heart beating animation - Medically accurate 72 BPM (0.833s per beat) */
.logo .heart-shape {
    transform-origin: center;
    animation: heartbeat 0.833s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { 
        transform: scale(1);
    }
    10% { 
        transform: scale(1.1);
    }
    20% { 
        transform: scale(1);
    }
    30% { 
        transform: scale(1.1);
    }
    40%, 100% { 
        transform: scale(1);
    }
}

/* Pulse line animation - Synced with heartbeat */
.logo .pulse-line {
    animation: pulseGlow 0.833s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 40%, 100% { 
        opacity: 0.6;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
    }
    10%, 30% { 
        opacity: 1;
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
    }
}

.logo-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

/* Glass Card Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px var(--glass-shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 12px 48px rgba(0, 245, 255, 0.15);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 1s ease-out;
}

.main-card {
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
    overflow: hidden;
}

.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1200&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    border-radius: 24px;
}

.main-card > * {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Signup Form */
.signup-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.input-wrapper {
    flex: 1;
    min-width: 280px;
    position: relative;
    display: flex;
    align-items: center;
}

.textarea-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.glass-input {
    padding: 0 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.glass-input:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.input-icon {
    color: var(--text-secondary);
    margin-right: 0.75rem;
}

.glass-input input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 1rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.glass-input input::placeholder {
    color: var(--text-secondary);
}

.glass-input textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 1rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
}

.glass-input textarea::placeholder {
    color: var(--text-secondary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border: none;
    border-radius: 12px;
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 245, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.success-message {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 12px;
    color: var(--accent-cyan);
    margin-top: 1rem;
    animation: slideIn 0.5s ease-out;
}

.success-message.show {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Compact Feature Pills */
.features-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    background: rgba(0, 245, 255, 0.03);
    border-color: rgba(0, 245, 255, 0.15);
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    white-space: nowrap;
    justify-content: flex-start;
}

.feature-pill:hover {
    background: rgba(0, 245, 255, 0.08);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.15);
}

.feature-icon-small {
    font-size: 1.5rem;
    filter: grayscale(0.2);
    flex-shrink: 0;
}

/* Teaser Card */
.teaser-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
    background: rgba(0, 245, 255, 0.02);
    border-color: rgba(0, 245, 255, 0.1);
}

.teaser-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.teaser-text .gradient-text {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    margin-top: 1rem;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mission Card */
.mission-card {
    max-width: 900px;
    margin: 3rem auto;
    padding: 3rem;
    text-align: center;
    background: rgba(0, 245, 255, 0.03);
    border-color: rgba(0, 245, 255, 0.2);
}

.mission-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

/* Problem & Solution Grid */
.problem-solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto;
}

.problem-card,
.solution-card {
    padding: 2.5rem;
    text-align: center;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(0.2);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Differentiators Card */
.differentiators-card {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 3rem;
}

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

.differentiator-item {
    text-align: center;
    padding: 1.5rem;
}

.diff-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: grayscale(0.2);
}

.diff-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.diff-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Audience Card */
.audience-card {
    max-width: 900px;
    margin: 3rem auto;
    padding: 3rem;
    text-align: center;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.audience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(0, 245, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.audience-item:hover {
    background: rgba(0, 245, 255, 0.08);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-4px);
}

.audience-icon {
    font-size: 2.5rem;
    filter: grayscale(0.2);
}

.audience-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}


/* Success Icon */
.success-icon {
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    padding: 2.5rem;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    margin-top: auto;
    animation: fadeIn 1.2s ease-out;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

    .glass-card {
        padding: 2rem;
    }

    .main-card {
        padding: 2rem 1.5rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .signup-form {
        flex-direction: column;
    }

    .input-wrapper {
        width: 100%;
        min-width: 100%;
    }

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

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

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

    .gradient-orb {
        filter: blur(80px);
    }

    .features-grid-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-width: 400px;
    }

    .feature-pill {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    .teaser-card {
        padding: 2rem 1.5rem;
    }

    .teaser-text {
        font-size: 1.125rem;
    }

    .teaser-text .gradient-text {
        font-size: 1.25rem;
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .header {
        padding: 1.5rem 0;
    }

    .logo {
        gap: 0.75rem;
    }

    .logo svg {
        width: 48px;
        height: 48px;
    }

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

    .logo-tagline {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .teaser-text {
        font-size: 1rem;
    }

    .feature-pill {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }

    .logo svg {
        width: 40px;
        height: 40px;
    }

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

    .logo-tagline {
        font-size: 0.7rem;
    }
}
