/* ==========================================================================
   Calm Health International - Coming Soon Stylesheet
   ========================================================================== */

/* Design System Variables */
:root {
    --bg-dark: #050517;
    --bg-dark-end: #0c0d29;
    --bg-card: rgba(18, 19, 46, 0.55);
    --bg-card-hover: rgba(24, 26, 61, 0.7);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(0, 210, 255, 0.25);
    
    /* Logo Colors */
    --cyan: #00d2ff;
    --cyan-dark: #009acf;
    --cyan-glow: rgba(0, 210, 255, 0.35);
    --cyan-glow-light: rgba(0, 210, 255, 0.15);
    
    --gold: #ffe066;
    --gold-mid: #f5d033;
    --gold-dark: #c59b27;
    --gold-glow: rgba(245, 208, 51, 0.25);
    
    --text-white: #ffffff;
    --text-gray: #a3a6c2;
    --text-muted: #6b6f93;
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 50%, var(--gold-dark) 100%);
    --cyan-gradient: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    --bg-gradient: radial-gradient(circle at 50% 50%, var(--bg-dark-end) 0%, var(--bg-dark) 100%);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.3);
    --shadow-glow-cyan: 0 0 20px rgba(0, 210, 255, 0.2);
    --shadow-glow-gold: 0 0 20px rgba(245, 208, 51, 0.2);
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: transparent;
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Background floating glow orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: floatOrb1 25s ease-in-out infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: floatOrb2 30s ease-in-out infinite alternate;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(44, 182, 232, 0.2) 0%, transparent 70%);
    top: 40%;
    left: 60%;
    animation: floatOrb3 20s ease-in-out infinite alternate;
}

/* Keyframe Animations for Orbs */
@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.2); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-100px, -150px) scale(0.9); }
}

@keyframes floatOrb3 {
    0% { transform: translate(0, 0) scale(0.9); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

/* Landing Layout Container */
.landing-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 3.5rem;
}

/* Glassmorphism Panel Class */
.glass-card {
    background: rgba(8, 9, 30, 0.6);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-premium);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Header Styles */
.main-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
}

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

.brand-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo:hover {
    transform: rotate(5deg) scale(1.06);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff 0%, var(--gold-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cyan);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 2px;
}

.tag-badge {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    color: var(--cyan);
    box-shadow: var(--shadow-glow-cyan);
    animation: pulseBadge 2.5s ease-in-out infinite alternate;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 10px rgba(0, 210, 255, 0.1); border-color: rgba(0, 210, 255, 0.25); }
    100% { box-shadow: 0 0 20px rgba(0, 210, 255, 0.35); border-color: rgba(0, 210, 255, 0.6); }
}

/* Hero Section */
.hero-section {
    text-align: center;
    max-width: 800px;
    margin-top: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.hero-title br {
    display: block;
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(245, 208, 51, 0.15));
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 400;
    max-width: 680px;
    margin: 0 auto;
}

/* Heartbeat Divider SVG Animation */
.pulse-divider {
    width: 100%;
    max-width: 1000px;
    height: 80px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heartbeat-svg {
    width: 100%;
    height: 100%;
}

.heartbeat-line, .heartbeat-glow {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.heartbeat-line {
    stroke: var(--cyan);
    stroke-width: 3.5;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawHeartbeat 3.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.heartbeat-glow {
    stroke: var(--cyan);
    stroke-width: 8px;
    opacity: 0.4;
    filter: blur(5px);
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawHeartbeat 3.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes drawHeartbeat {
    0% {
        stroke-dashoffset: 1500;
    }
    45% {
        stroke-dashoffset: 0;
    }
    80% {
        stroke-dashoffset: 0;
        opacity: 0.4;
    }
    100% {
        stroke-dashoffset: -1500;
        opacity: 0;
    }
}

/* Countdown Section */
.countdown-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.countdown-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
}

.countdown-item {
    min-width: 120px;
    height: 130px;
    background: rgba(8, 9, 30, 0.55);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-premium);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--cyan-gradient);
    opacity: 0.6;
}

.countdown-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 210, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.15);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 0.4rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cyan);
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-mid);
    opacity: 0.8;
    animation: blinkSeparator 1.5s infinite alternate;
}

@keyframes blinkSeparator {
    0% { opacity: 0.3; }
    100% { opacity: 0.9; }
}

/* Subscription Form Card */
.subscription-section {
    width: 100%;
    max-width: 680px;
}

.subscription-card {
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subscription-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--cyan-glow-light);
    border-radius: 50%;
    top: -60px;
    right: -60px;
    filter: blur(30px);
}

.subscription-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subscription-card p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.input-wrapper {
    flex-grow: 1;
    position: relative;
}

.mail-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: color 0.3s ease;
    pointer-events: none;
}

.subscribe-form input[type="email"] {
    width: 100%;
    height: 56px;
    background: rgba(10, 10, 30, 0.8);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 0 1rem 0 3.2rem;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px var(--cyan-glow-light);
    background: rgba(10, 10, 30, 0.95);
}

.subscribe-form input[type="email"]:focus + .mail-icon {
    color: var(--cyan);
}

.submit-btn {
    height: 56px;
    padding: 0 2rem;
    border: none;
    outline: none;
    border-radius: 12px;
    background: var(--cyan-gradient);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.submit-btn span {
    white-space: nowrap;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.45);
    background: linear-gradient(135deg, #33e0ff 0%, #00b0eb 100%);
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.submit-btn:active {
    transform: translateY(1px);
}

/* Form Feedback Messages */
.feedback-msg {
    min-height: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-5px);
}

.feedback-msg.show {
    opacity: 1;
    transform: translateY(0);
}

.feedback-msg.success {
    color: #4ade80; /* Green */
}

.feedback-msg.error {
    color: #f87171; /* Red */
}

/* Form Disabled State for Success animation */
.subscribe-form.submitted {
    pointer-events: none;
    opacity: 0.6;
}

/* Pillars Section */
.pillars-section {
    width: 100%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.8rem;
    background: linear-gradient(to right, #ffffff 0%, var(--gold-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-card-hover);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.08);
}

.pillar-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    box-shadow: var(--shadow-glow-cyan);
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
    background: var(--cyan-gradient);
    color: var(--text-dark);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
    transform: rotate(5deg) scale(1.05);
}

.pillar-icon-box svg {
    width: 28px;
    height: 28px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: -0.3px;
}

.pillar-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.main-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-mid);
    text-shadow: 0 0 10px rgba(245, 208, 51, 0.3);
}

.footer-links .separator {
    color: var(--text-muted);
}

.footer-status {
    color: var(--gold-mid);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Web Design Media Queries */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .landing-container {
        padding: 2rem 1rem;
        gap: 2.5rem;
    }

    .main-header {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .pulse-divider {
        height: 60px;
    }

    .countdown-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .countdown-item {
        min-width: 90px;
        height: 100px;
        border-radius: 15px;
    }

    .countdown-value {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .countdown-separator {
        display: none; /* Hide colons on mobile wrap */
    }

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

    .subscribe-form {
        flex-direction: column;
        gap: 0.8rem;
    }

    .subscribe-form input[type="email"] {
        height: 52px;
    }

    .submit-btn {
        height: 52px;
        justify-content: center;
        width: 100%;
    }

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

    .pillar-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .brand-title {
        font-size: 1.5rem;
    }
    
    .brand-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .brand-logo {
        height: 56px;
    }

    .countdown-container {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 75px;
        height: 85px;
    }

    .countdown-value {
        font-size: 2rem;
    }
}

/* Slideshow Background Styles */
.slideshow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out, transform 10s ease-in-out;
    transform: scale(1.08);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(5, 5, 23, 0.35) 0%, rgba(5, 5, 23, 0.55) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
