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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #eff6ff;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #ef4444 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    height: auto;
    padding: 0;
    align-items: flex-start;
    justify-content: flex-start;
}

.navbar {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .navbar {
    padding: 1rem 2rem;
}

.navbar-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .navbar-container {
    flex-direction: row;
    gap: 2rem;
    text-align: left;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .navbar-right {
    flex-direction: row;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .contact-info {
    flex-direction: row;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .contact-item {
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.btn-notify {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
}

header.scrolled .btn-notify {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 25px;
}

.btn-notify:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.hamburger-btn span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn span:nth-child(1) {
    margin-bottom: 4px;
}

.hamburger-btn span:nth-child(3) {
    margin-top: 4px;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Contact Menu */
.mobile-contact-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-contact-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-close-btn:hover {
    color: var(--primary-color);
}

.mobile-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-contact-item:hover {
    background: var(--bg-accent);
    transform: translateY(-2px);
}

.mobile-contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.mobile-contact-item span {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1500;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 120px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .logo-img {
    height: 50px;
    max-width: 200px;
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
    padding-top: 100vh;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body.scrolled .hero {
    padding-top: 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Countdown Timer */
.countdown {
    margin-bottom: 3rem;
}

.countdown h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
}

.time-unit {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    min-width: 80px;
}

.time-unit span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.time-unit label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: block;
}

/* Email Signup */
.email-signup h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.signup-form {
    max-width: 400px;
}

.input-group {
    display: flex;
    margin-bottom: 1rem;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 4px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

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

.input-group input::placeholder {
    color: var(--text-light);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.privacy-text {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.mockup-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.mockup-screen {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-heavy);
    border: 8px solid #1f2937;
    position: relative;
}

.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
}

.mockup-dots span:first-child {
    background: #ef4444;
}

.mockup-dots span:nth-child(2) {
    background: var(--accent-color);
}

.mockup-dots span:last-child {
    background: var(--secondary-color);
}

.mockup-content {
    text-align: center;
}

.medical-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-mockup {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.mockup-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.feature-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Preview */
.features-preview {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.features-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Social Proof */
.social-proof {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-left .logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-left p {
    color: #9ca3af;
}

.footer-right {
    text-align: right;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: flex-end;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-right p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: white;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .contact-item {
        font-size: 0.95rem;
    }
    
    header.scrolled .contact-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 1rem;
    }
    
    header.scrolled .navbar {
        padding: 0.75rem 1rem;
    }
    
    .navbar-container {
        gap: 2rem;
    }
    
    header.scrolled .navbar-container {
        gap: 1rem;
    }
    
    .navbar-right {
        width: 100%;
        align-items: center;
        gap: 1.5rem;
        position: relative;
    }
    
    header.scrolled .navbar-right {
        gap: 1rem;
    }
    
    /* Hide contact info on mobile */
    .contact-info {
        display: none;
    }
    
    /* Show hamburger on mobile */
    .hamburger-btn {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    header.scrolled .hamburger-btn {
        position: static;
        transform: none;
    }
    
    .btn-notify {
        width: 100%;
        justify-content: center;
        max-width: 280px;
        padding: 1rem 1.5rem;
    }
    
    header.scrolled .btn-notify {
        max-width: 200px;
        padding: 0.75rem 1rem;
    }
    
    .logo-img {
        height: 100px;
        max-width: 320px;
    }
    
    header.scrolled .logo-img {
        height: 45px;
        max-width: 180px;
    }
    
    .hero {
        padding-top: 100vh;
    }
    
    body.scrolled .hero {
        padding-top: 130px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .countdown-timer {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 1rem 0.75rem;
    }
    
    .time-unit span {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .navbar {
        padding: 2rem 1rem;
    }
    
    header.scrolled .navbar {
        padding: 1rem;
    }
    
    .navbar-container {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 0.75rem;
    }
    
    header.scrolled .navbar {
        padding: 0.5rem 0.75rem;
    }
    
    .navbar-container {
        gap: 1.5rem;
    }
    
    header.scrolled .navbar-container {
        gap: 0.75rem;
    }
    
    .navbar-right {
        gap: 1rem;
    }
    
    header.scrolled .navbar-right {
        gap: 0.75rem;
    }
    
    /* Hamburger stays hidden on mobile */
    .contact-info {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .btn-notify {
        max-width: 100%;
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    header.scrolled .btn-notify {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .logo-img {
        height: 80px;
        max-width: 280px;
    }
    
    header.scrolled .logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    body.scrolled .hero {
        padding-top: 110px;
    }
    
    /* Mobile menu adjustments */
    .mobile-contact-menu {
        width: 100%;
        right: -100%;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .countdown-timer {
        gap: 0.75rem;
    }
    
    .time-unit {
        min-width: 65px;
        padding: 0.75rem 0.5rem;
    }
    
    .time-unit span {
        font-size: 1.3rem;
    }
    
    .features-preview h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .mockup-screen {
        padding: 1rem;
        border-width: 4px;
    }
}
