/* =====================================================
   PHENOMENA PHARMA - Coming Soon Page
   Brand Colors: Green (#52B435), Blue (#3D4DBE)
   ===================================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-green: #52B435;
    --primary-green-light: #6DD84E;
    --primary-green-dark: #3D8A28;
    --primary-blue: #3D4DBE;
    --primary-blue-light: #5A6AD6;
    --primary-blue-dark: #2C3A9C;
    
    /* Neutral Colors */
    --bg-dark: #030712;
    --bg-gradient-start: #030712;
    --bg-gradient-end: #0a1628;
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(82, 180, 53, 0.4) 0%, rgba(61, 77, 190, 0.4) 100%);
    
    /* Shadows */
    --shadow-green: 0 0 40px rgba(82, 180, 53, 0.3);
    --shadow-blue: 0 0 40px rgba(61, 77, 190, 0.3);
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-spacing: 60px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg-gradient-start);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    overflow: hidden;
}

/* Floating Molecules */
.molecule {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.molecule-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-green);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.molecule-2 {
    width: 350px;
    height: 350px;
    background: var(--primary-blue);
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

.molecule-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-green);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

.molecule-4 {
    width: 250px;
    height: 250px;
    background: var(--primary-blue);
    top: 20%;
    left: 50%;
    animation-delay: -15s;
}

.molecule-5 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    bottom: 30%;
    right: 20%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* DNA Helix Animation */
.dna-helix {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 300px;
    opacity: 0.1;
}

.dna-helix::before,
.dna-helix::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        var(--primary-green) 0px,
        var(--primary-green) 2px,
        transparent 2px,
        transparent 20px
    );
    animation: dna-spin 8s linear infinite;
}

.dna-helix::after {
    animation-direction: reverse;
    background: repeating-linear-gradient(
        0deg,
        var(--primary-blue) 0px,
        var(--primary-blue) 2px,
        transparent 2px,
        transparent 20px
    );
}

@keyframes dna-spin {
    0% { transform: rotateY(0deg) translateX(0); }
    50% { transform: rotateY(180deg) translateX(30px); }
    100% { transform: rotateY(360deg) translateX(0); }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.6;
    animation: rise 15s infinite;
}

.particle:nth-child(even) {
    background: var(--primary-blue);
}

@keyframes rise {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Main Container */
.main-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Header & Logo */
.header {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    position: relative;
}

.logo-image {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(82, 180, 53, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(82, 180, 53, 0.5));
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: var(--section-spacing);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content {
    max-width: 800px;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-green-light);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(82, 180, 53, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(82, 180, 53, 0);
    }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    margin-bottom: var(--section-spacing);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.countdown-label {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 32px;
    min-width: 110px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-green);
}

.countdown-value {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.countdown-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.countdown-separator {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-muted);
    opacity: 0.5;
}

/* Newsletter Section */
.newsletter-section {
    text-align: center;
    margin-bottom: var(--section-spacing);
    animation: fadeInUp 1s ease-out 0.6s both;
    width: 100%;
    max-width: 550px;
}

.newsletter-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.newsletter-description {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.newsletter-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 8px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(82, 180, 53, 0.2);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--text-white);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-green);
}

.submit-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    display: flex;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-message {
    margin-top: 16px;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    color: var(--primary-green-light);
}

.form-message.error {
    color: #ef4444;
}

/* Features Preview */
.features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 800px;
    margin-bottom: var(--section-spacing);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(61, 77, 190, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--gradient-glow);
    border-radius: 16px;
    color: var(--text-white);
}

.feature-card h4 {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Social Section */
.social-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1s both;
}

.social-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--shadow-green);
}

/* Footer */
.footer {
    text-align: center;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .countdown-container {
        gap: 8px;
    }
    
    .countdown-item {
        padding: 16px 20px;
        min-width: 70px;
        border-radius: 16px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
    }
    
    .input-wrapper input {
        text-align: center;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .features-preview {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    .logo-image {
        height: 70px;
    }
    
    .molecule {
        opacity: 0.3;
    }
    
    .molecule-1 { width: 250px; height: 250px; }
    .molecule-2 { width: 200px; height: 200px; }
    .molecule-3 { width: 180px; height: 180px; }
    .molecule-4 { width: 150px; height: 150px; }
    .molecule-5 { width: 120px; height: 120px; }
}

@media (max-width: 480px) {
    .main-container {
        padding: 30px 16px;
    }
    
    .coming-soon-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .countdown-item {
        padding: 12px 14px;
        min-width: 60px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-unit {
        font-size: 0.65rem;
    }
    
    .countdown-separator {
        font-size: 1.2rem;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Selection Styles */
::selection {
    background: var(--primary-green);
    color: var(--text-white);
}

::-moz-selection {
    background: var(--primary-green);
    color: var(--text-white);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}
