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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}
/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --black: #000000;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.5rem;
    --font-size-h5: 1.25rem;
    --font-size-h6: 1rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Layout */
    --container-max-width: 1200px;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --transition: all 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Z-index */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
}
/* Navigation Styles - Based on Figma Design */

.site-header {
    width: 100%;
    background: transparent;
    padding: 24px 40px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.main-nav {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.nav-left {
    display: flex;
    gap: 42px;
    align-items: center;
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-right {
    display: flex;
    gap: 42px;
    align-items: center;
    justify-content: flex-end;
}

.nav-link {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #0D1D3F;
    opacity: 0.7;
    text-decoration: none;
    padding: 12px 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link.active {
    opacity: 1;
    font-weight: 600;
}
/* AyuMedica Custom Styles - Exact Figma Specifications */

/* Hero Section */
.hero-section {
    height: auto;
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px 60px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    backdrop-filter: none;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo */
.logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo img {
    height: 80px;
    width: auto;
}

/* Hero Title */
.hero-title {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 62px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    line-height: 100%;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    color: #4576DA;
    padding: 8px 12px;
    border-radius: 50px;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-out 0.4s both;
    letter-spacing: -0.02em;
}

/* Scroll Indicator */
.scroll-indicator {
    margin-bottom: 46px;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    width: 20px;
    height: 20px;
}

/* Form Card */
.form-card {
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0px 0px 52px rgba(93, 73, 53, 0.08);
    width: 360px;
    height: auto;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

/* Form Elements */
.form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    color: #0D1D3F;
    margin-top: 12px;
    margin-bottom: 8px;
    text-align: left;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.02em;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 320px;
    padding: 12px;
    border: none;
    border-bottom: 1px solid rgba(13, 29, 63, 0.2);
    border-radius: 0;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    color: #0D1D3F;
    height: 36px;
    box-sizing: border-box;
    letter-spacing: -0.02em;
    line-height: 100%;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-bottom-color: #4576DA;
}

input::placeholder {
    color: #0D1D3F;
    opacity: 0.5;
}

/* Custom Radio Buttons */
.radio-group {
    display: flex;
    gap: 25px;
    padding: 0;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #0D1D3F;
    position: relative;
    opacity: 0.8;
    letter-spacing: -0.02em;
    line-height: 100%;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 12px;
    height: 12px;
    border: 1px solid #4576DA;
    border-radius: 50%;
    margin-right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.radio-custom::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4576DA;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #4576DA;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    transform: scale(1);
}

/* Custom Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #0D1D3F;
    text-align: left;
    position: relative;
    opacity: 0.8;
    padding: 12px 0;
    gap: 8px;
    letter-spacing: -0.02em;
    line-height: 100%;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.33px solid #4576DA;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 10px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #4576DA;
    border-color: #4576DA;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

/* Buttons */
.btn {
    width: 320px;
    padding: 20px 120px;
    border: none;
    border-radius: 140px;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 100%;
    flex: none;
    order: 5;
    align-self: stretch;
    flex-grow: 0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-primary {
    background-color: #4576DA;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #3E7AF2;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #4576DA;
    padding: 16px 24px;
    width: 200px;
    min-width: 200px;
    font-weight: 500;
    font-size: 20px;
    height: 46px;
}

.btn-secondary:hover {
    background-color: #F9FBFF;
}

/* Contact Section */
.contact-section {
    background: #4576DA;
    padding: 40px 20px;
    min-height: 176px;
    display: flex;
    align-items: center;
    width: 100%;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.contact-text {
    flex: 1;
}

.contact-text h2 {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 40px;
    color: #FFFFFF;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
}

.contact-text p {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 40px;
    color: #FFFFFF;
    margin: 0;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
}

.contact-form {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
    max-width: 550px;
}

.contact-form input[type="email"] {
    flex: 1;
    padding: 16px 12px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    background-color: transparent;
    color: #FFFFFF;
    height: 46px;
    box-sizing: border-box;
    letter-spacing: -0.02em;
    line-height: 100%;
}

.contact-form input[type="email"]::placeholder {
    color: #FFFFFF;
    opacity: 0.5;
    font-weight: 500;
}

.contact-form input[type="email"]:focus {
    outline: none;
    border-bottom-color: rgba(255, 255, 255, 0.8);
    box-shadow: none;
}

/* 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);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Modern Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Button loading state */
.btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading .spinner {
    margin-right: 8px;
}

/* Modern Notification Toast */
.notification-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: white;
    color: #0D1D3F;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 15px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 420px;
    border-left: 4px solid #28a745;
}

.notification-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-toast.success {
    border-left-color: #28a745;
}

.notification-toast.error {
    border-left-color: #EF4444;
}

.notification-toast.success .notification-icon {
    color: #28a745;
}

.notification-toast.error .notification-icon {
    color: #EF4444;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.notification-message {
    font-weight: 400;
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
}
/* Responsive Styles */

/* Mobile Navigation - All Devices */
@media (max-width: 430px) {
    .site-header {
        padding: 20px 16px;
    }

    .main-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-left {
        display: none;
    }

    .nav-right {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0;
    }

    .nav-link {
        font-size: 12px;
    }

    .contact-section {
        padding: 40px 20px;
        min-height: auto;
    }

    .contact-content {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
        width: 100%;
    }

    .contact-text {
        width: 100%;
        text-align: left;
    }

    .contact-text h2 {
        font-size: 28px;
        line-height: 120%;
        margin-bottom: 0;
    }

    .contact-text p {
        font-size: 28px;
        line-height: 120%;
        margin: 0;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
        width: 100%;
        align-items: stretch;
    }

    .contact-form input[type="email"] {
        width: 100%;
        padding: 16px 12px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .btn-secondary {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 16px 24px;
        font-size: 18px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-lg) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: var(--font-size-base);
    }

    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.5rem;
    }
}

/* iPhone 12 Pro / 13 Pro (390px) */
@media (min-width: 376px) and (max-width: 390px) {
    .site-header {
        padding: 20px 16px;
    }

    .main-nav {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .nav-right {
        justify-content: space-between;
        gap: 0;
    }

    .nav-link {
        font-size: 12px;
    }

    .hero-section {
        padding: 40px 16px 60px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 110%;
    }

    .logo img {
        height: 60px;
    }

    .form-card {
        max-width: 100%;
        width: calc(100% - 24px);
        padding: 20px;
        margin: 0 auto;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .btn {
        width: 100%;
        padding: 18px 60px;
        font-size: 18px;
    }

    .btn-primary {
        width: 100%;
    }

    .contact-section {
        padding: 30px 16px;
    }

    .contact-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .contact-text h2,
    .contact-text p {
        font-size: 32px;
    }

    .contact-form {
        max-width: 100%;
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }

    .contact-form input[type="email"] {
        width: 100%;
    }

    .btn-secondary {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
}


/* iPhone XR / 11 / XS Max (414px) */
@media (min-width: 414px) and (max-width: 430px) {
    .site-header {
        padding: 20px 20px;
    }

    .main-nav {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .nav-right {
        justify-content: space-between;
        gap: 0;
    }

    .nav-link {
        font-size: 13px;
    }

    .form-card {
        max-width: 100%;
        width: calc(100% - 40px);
        padding: 22px;
        margin: 0 auto;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        width: 100%;
        padding: 14px 12px;
        font-size: 14px;
    }

    .btn {
        width: 100%;
        padding: 20px 80px;
        font-size: 19px;
    }

    .contact-content {
        flex-direction: column;
        gap: 24px;
    }

    .contact-form {
        max-width: 100%;
        width: 100%;
    }
}
/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero {
        padding: var(--spacing-xl) 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    :root {
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.25rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
}
