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

:root {
    --primary-red: #dc143c;
    --dark-red: #a00c2a;
    --light-red: #ff4d6d;
    --bg-dark: #0a0a0a;
    --bg-gradient-start: #1a0a0f;
    --bg-gradient-end: #0f0a0a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --glow-red: rgba(220, 20, 60, 0.5);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Heartbeat Line Animation */
.heartbeat-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

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

.heartbeat-path {
    fill: none;
    stroke: var(--primary-red);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px var(--glow-red));
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { 
        opacity: 0.3;
        stroke-width: 2;
    }
    50% { 
        opacity: 1;
        stroke-width: 3;
    }
}

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

.content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

/* Logo Section */
.logo-section {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.medical-cross {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cross-horizontal,
.cross-vertical {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    box-shadow: 0 0 30px var(--glow-red), 0 0 60px var(--glow-red);
}

.cross-horizontal {
    width: 100%;
    height: 30%;
    top: 35%;
    left: 0;
}

.cross-vertical {
    width: 30%;
    height: 100%;
    left: 35%;
    top: 0;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
    opacity: 0;
}

.pulse-ring.delay-1 {
    animation-delay: 0.5s;
}

.pulse-ring.delay-2 {
    animation-delay: 1s;
}

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

/* Typography */
.doctor-name {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-light), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 30px var(--glow-red);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px var(--glow-red)); }
    to { filter: drop-shadow(0 0 20px var(--glow-red)); }
}

.tagline {
    font-size: 1.5rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Countdown */
.countdown-container {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(220, 20, 60, 0.05);
    border: 2px solid rgba(220, 20, 60, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.countdown-title {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-box {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(255, 77, 109, 0.1));
    border: 2px solid var(--primary-red);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    box-shadow: 0 0 20px var(--glow-red), inset 0 0 20px rgba(220, 20, 60, 0.1);
    transition: all 0.3s ease;
    animation: pulse-box 2s ease-in-out infinite;
}

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

.time-box:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 40px var(--glow-red), inset 0 0 30px rgba(220, 20, 60, 0.2);
}

.time-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 0 20px var(--glow-red);
    font-family: 'Poppins', sans-serif;
}

.time-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.time-separator {
    font-size: 3rem;
    color: var(--primary-red);
    font-weight: 700;
    animation: blink 1s ease-in-out infinite;
}

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

/* Notify Section */
.notify-section {
    margin: 3rem 0;
}

.notify-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

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

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: var(--text-gray);
}

.email-input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px var(--glow-red);
    background: rgba(255, 255, 255, 0.08);
}

.notify-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border: none;
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--glow-red);
}

.notify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow-red);
    background: linear-gradient(135deg, var(--light-red), var(--primary-red));
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.notify-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2), rgba(255, 77, 109, 0.2));
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--glow-red);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    box-shadow: 0 0 40px var(--glow-red);
    transform: rotate(360deg);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-red);
}

.feature-item p {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-red);
    animation: float-particle 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 60%; animation-delay: 1s; }
.particle:nth-child(6) { left: 70%; animation-delay: 3s; }
.particle:nth-child(7) { left: 80%; animation-delay: 5s; }
.particle:nth-child(8) { left: 90%; animation-delay: 7s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .doctor-name {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .time-box {
        padding: 1rem 1.5rem;
        min-width: 80px;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .time-separator {
        font-size: 2rem;
    }
    
    .features {
        gap: 2rem;
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .email-input,
    .notify-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .doctor-name {
        font-size: 2.5rem;
    }
    
    .medical-cross {
        width: 80px;
        height: 80px;
    }
    
    .time-box {
        padding: 0.8rem 1rem;
        min-width: 70px;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .time-label {
        font-size: 0.7rem;
    }
}
