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

::-webkit-scrollbar {
    display: none !important;
}

/* Container and main content - Desktop centering */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.main-content {
    max-width: 1400px !important;
    width: 100%;
    gap: 60px;
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.hero-section {
    flex: 1.2;
    color: white;
    z-index: 2;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 20px 0;
    max-width: 600px;
    width: 100%;
}

/* Mobile Logo Header */
.mobile-logo-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95); /* Semi-transparent dark background instead of gradient */
    backdrop-filter: blur(10px); /* Add blur effect for better readability */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mobile-logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.3));
}

.mobile-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Desktop Logo Container - Center at top */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    text-align: center;
}

.medical-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    animation: fadeInScale 0.8s ease-out 0.3s both;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    animation: fadeInScale 0.8s ease-out 0.5s both;
}

/* Highlight text in green */
.highlight-text {
    color: #10b981;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero section text styles */
.tagline {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #f3f4f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Features list - ensure all items are visible */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop */
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px; /* Increased max-width to accommodate 2 columns */
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.feature:nth-child(1) { animation-delay: 0.8s; }
.feature:nth-child(2) { animation-delay: 0.9s; }
.feature:nth-child(3) { animation-delay: 1.0s; }
.feature:nth-child(4) { animation-delay: 1.1s; }
.feature:nth-child(5) { animation-delay: 1.2s; }

.check-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.feature span {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.testimonial-author {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
}

/* Enhanced Glassmorphism form */
.form-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.4);
    min-width: 400px;
    max-width: 450px;
    animation: slideUp 0.8s ease-out;
    position: relative;
    flex-shrink: 0;
    max-height: 100vh;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    padding: 30px 25px;
    box-sizing: border-box;
}

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

.form-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.form-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

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

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.early-access-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.form-input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.field-error {
    color: #fecaca;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.field-error.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Form message styling for existing functionality */
.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

.form-message.loading {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: block;
}

/* Responsive Design - Mobile Only Changes */
@media (max-width: 1024px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-logo-header {
        display: block;
    }
    
    .container {
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 200px;
    }
    
    .main-content {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 25px;
        padding: 20px 0;
    }
    
    .hero-section {
        max-height: none;
        overflow: visible;
        padding: 15px 0 25px 0;
        order: 2; /* Content comes after form */
    }
    
    .form-container {
        order: 1; /* Form comes first */
        margin-bottom: 20px;
    }
    
    .tagline {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }
    
    .description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .features {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 10px;
        margin-bottom: 25px;
        max-width: 194px;
    }
    
    .feature {
        padding: 6px 0;
        gap: 10px;
    }
    
    .check-icon {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    .feature span {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        padding-top: 100px; /* Consistent padding for mobile header */
    }
    
    .main-content {
        padding: 15px 0;
        gap: 20px;
    }
    
    .hero-section {
        padding: 10px 0 20px 0;
        order: 2; /* Content comes after form */
    }
    
    .form-container {
        order: 1; /* Form comes first */
        margin-bottom: 15px;
    }
    
    .tagline {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .description {
        font-size: 0.85rem;
        margin-bottom: 18px;
        line-height: 1.4;
    }
    
    .features {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 8px;
        margin-bottom: 20px;
        max-width: 172px;
    }
    
    .feature {
        padding: 5px 0;
        gap: 8px;
    }
    
    .check-icon {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
    
    .feature span {
        font-size: 0.85rem;
    }
    
    .form-container {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
        padding-top: 100px; /* Consistent padding for mobile header */
    }
    
    .main-content {
        padding: 12px 0;
        gap: 18px;
    }
    
    .hero-section {
        padding: 8px 0 18px 0;
        order: 2; /* Content comes after form */
    }
    
    .form-container {
        order: 1; /* Form comes first */
        margin-bottom: 12px;
    }
    
    .tagline {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .description {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .features {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 6px;
        margin-bottom: 18px;
        max-width: 172px;
    }
    
    .feature {
        padding: 4px 0;
        gap: 6px;
    }
    
    .check-icon {
        width: 15px;
        height: 15px;
        font-size: 9px;
    }
    
    .feature span {
        font-size: 0.8rem;
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    .mobile-logo-header {
        padding: 12px 0;
    }
    
    .mobile-logo {
        width: 35px;
        height: 35px;
    }
    
    .mobile-logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 10px;
        padding-top: 100px; /* Consistent padding for mobile header */
    }
    
    .main-content {
        padding: 10px 0;
        gap: 15px;
    }
    
    .hero-section {
        padding: 6px 0 15px 0;
        order: 2; /* Content comes after form */
    }
    
    .form-container {
        order: 1; /* Form comes first */
        margin-bottom: 10px;
    }
    
    .tagline {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .description {
        font-size: 0.75rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .features {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 5px;
        margin-bottom: 15px;
        max-width: 172px;
    }
    
    .feature {
        padding: 3px 0;
        gap: 5px;
    }
    
    .check-icon {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }
    
    .feature span {
        font-size: 0.75rem;
    }
    
    .form-container {
        padding: 18px 12px;
    }
    
    .mobile-logo-header {
        padding: 10px 0;
    }
    
    .mobile-logo {
        width: 30px;
        height: 30px;
    }
    
    .mobile-logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 8px;
        padding-top: 100px; /* Consistent padding for mobile header */
    }
    
    .main-content {
        padding: 8px 0;
        gap: 12px;
    }
    
    .hero-section {
        padding: 4px 0 12px 0;
        order: 2; /* Content comes after form */
    }
    
    .form-container {
        order: 1; /* Form comes first */
        margin-bottom: 8px;
    }
    
    .tagline {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .description {
        font-size: 0.7rem;
        margin-bottom: 10px;
        line-height: 1.1;
    }
    
    .features {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 4px;
        margin-bottom: 12px;
        max-width: 172px;
    }
    
    .feature {
        padding: 2px 0;
        gap: 4px;
    }
    
    .check-icon {
        width: 13px;
        height: 13px;
        font-size: 7px;
    }
    
    .feature span {
        font-size: 0.7rem;
    }
    
    .form-container {
        padding: 15px 10px;
    }
    
    .mobile-logo-header {
        padding: 8px 0;
    }
    
    .mobile-logo {
        width: 28px;
        height: 28px;
    }
    
    .mobile-logo-text {
        font-size: 1.1rem;
    }
}

/* Ensure content is always visible and scrollable */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container, .main-content, .hero-section {
    overflow: visible;
    max-height: none;
}

/* iPad Air specific fixes */
@media (min-width: 768px) and (max-width: 1024px) and (min-height: 1024px) {
    .container {
        height: 100vh;
        align-items: center;
    }
    
    .main-content {
        height: 100%;
        align-items: center;
        gap: 50px;
    }
}

/* Desktop and larger screen fixes - ensure proper horizontal centering */
@media (min-width: 1025px) {
    .container {
        height: 100vh;
        align-items: center;
        justify-content: center;
        padding: 40px;
    }
    
    .main-content {
        max-width: 1400px;
        width: 100%;
        height: auto;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 80px;
        margin: 0 auto;
    }
    
    .hero-section {
        flex: 1.2;
        max-width: 600px;
        text-align: left;
        align-items: flex-start;
        justify-content: center;
        padding: 40px 0;
    }
    
    .form-container {
        flex: 1;
        max-width: 500px;
        padding: 40px;
    }
}

/* Extra large screens - prevent content from spreading too wide */
@media (min-width: 1600px) {
    .container {
        padding: 60px;
    }
    
    .main-content {
        max-width: 1600px;
        gap: 100px;
    }
    
    .hero-section {
        max-width: 700px;
    }
    
    .form-container {
        max-width: 550px;
    }
}
    
    .hero-section {
        max-height: 100vh;
        overflow: hidden;
    }
    
    .form-container {
        max-height: 100vh;
        overflow: hidden;
        padding: 40px;
    }
    
    .tagline {
        font-size: 3rem;
    }
    
    .description {
        font-size: 1.1rem;
    }
    
    .form-title {
        font-size: 2.2rem;
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        height: 100vh;
        padding: 10px;
    }
    
    .main-content {
        gap: 15px;
        height: 100%;
        align-items: center;
    }
    
    .hero-section {
        max-height: 100vh;
        overflow: hidden;
    }
    
    .form-container {
        max-height: 100vh;
        overflow: hidden;
        padding: 20px;
    }
    
    .tagline {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .description {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .stats-container {
        margin-bottom: 10px;
    }
    
    .features {
        margin-bottom: 10px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .tagline,
    .logo,
    .form-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Success animation */
@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.success {
    animation: successPulse 0.6s ease-in-out;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.3) 100%);
}

/* Enhanced Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced background animations */
.bg-animations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Animated Background with enhanced effects */
.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0f0f23, #1a1a3a, #2d1b69, #0f0f23);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none; /* Hide the large floating shapes/bubbles */
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(100, 200, 255, 0.1));
    animation: drift 25s infinite ease-in-out;
    display: none; /* Hide individual shapes */
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 80%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 10%;
    animation-delay: -8s;
    background: linear-gradient(45deg, rgba(255, 100, 200, 0.08), rgba(200, 100, 255, 0.12));
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 30%;
    animation-delay: -15s;
    background: linear-gradient(45deg, rgba(100, 255, 200, 0.06), rgba(255, 200, 100, 0.1));
}

.shape:nth-child(4) {
    width: 180px;
    height: 180px;
    top: 70%;
    left: 70%;
    animation-delay: -5s;
    background: linear-gradient(45deg, rgba(255, 255, 100, 0.07), rgba(100, 255, 255, 0.09));
}

.shape:nth-child(5) {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 60%;
    animation-delay: -12s;
    background: linear-gradient(45deg, rgba(200, 255, 100, 0.08), rgba(255, 100, 255, 0.11));
}

.shape:nth-child(6) {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 20%;
    animation-delay: -3s;
    background: linear-gradient(45deg, rgba(100, 100, 255, 0.06), rgba(255, 150, 100, 0.1));
}

.shape:nth-child(7) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 40%;
    animation-delay: -18s;
    background: linear-gradient(45deg, rgba(255, 200, 100, 0.09), rgba(100, 255, 150, 0.07));
}

.shape:nth-child(8) {
    width: 160px;
    height: 160px;
    top: 15%;
    left: 15%;
    animation-delay: -10s;
    background: linear-gradient(45deg, rgba(150, 255, 255, 0.08), rgba(255, 100, 150, 0.1));
}

@keyframes drift {
    0%, 100% {
        transform: translateX(0px) translateY(0px) scale(1);
    }
    25% {
        transform: translateX(50px) translateY(-30px) scale(1.1);
    }
    50% {
        transform: translateX(-30px) translateY(20px) scale(0.9);
    }
    75% {
        transform: translateX(40px) translateY(40px) scale(1.05);
    }
}

/* Enhanced Particle System */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s infinite linear;
}

.particle:nth-child(odd) {
    background: rgba(100, 200, 255, 0.15);
}

.particle:nth-child(3n) {
    background: rgba(255, 100, 200, 0.1);
}

.particle:nth-child(5n) {
    background: rgba(200, 255, 100, 0.12);
}

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

/* Neural Network */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse 3s infinite ease-in-out;
}

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

.connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 200, 255, 0.3), transparent);
    transform-origin: left center;
    animation: connectionPulse 4s infinite ease-in-out;
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.6;
        transform: scaleX(1.1);
    }
}

/* Wave Container */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 150px;
    background: linear-gradient(0deg, rgba(100, 200, 255, 0.1), transparent);
    border-radius: 1000px 1000px 0 0;
    animation: wave 12s infinite linear;
}

.wave:nth-child(2) {
    animation-delay: -4s;
    opacity: 0.7;
    background: linear-gradient(0deg, rgba(255, 100, 200, 0.08), transparent);
}

.wave:nth-child(3) {
    animation-delay: -8s;
    opacity: 0.5;
    background: linear-gradient(0deg, rgba(200, 255, 100, 0.06), transparent);
}

@keyframes wave {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Flowing Lines */
.flowing-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.flow-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(100, 200, 255, 0.3), transparent);
    animation: flow 8s infinite linear;
}

.flow-line:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.flow-line:nth-child(2) {
    left: 60%;
    animation-delay: -3s;
}

.flow-line:nth-child(3) {
    left: 80%;
    animation-delay: -6s;
}

@keyframes flow {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

/* DNA Helix */
.dna-helix {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 200px;
    opacity: 0.2;
}

.helix-strand {
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #10b981, #059669);
    border-radius: 2px;
}

.helix-strand:nth-child(1) { 
    left: 20px; 
    animation: helixRotate 8s infinite linear;
}

.helix-strand:nth-child(2) { 
    right: 20px; 
    animation: helixRotate 8s infinite linear reverse;
}

@keyframes helixRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Floating Elements */
.floating-shapes .floating-shape {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-shapes .floating-shape:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.floating-shapes .floating-shape:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 2s;
}

.floating-shapes .floating-shape:nth-child(3) {
    top: 80%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.3;
    }
}

/* reCAPTCHA notice styling */
.recaptcha-notice {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    line-height: 1.3;
}

.recaptcha-notice a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.recaptcha-notice a:hover {
    color: rgba(255, 255, 255, 1);
}

/* Hide reCAPTCHA badge but keep functionality */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
}

/* Alternative method - move off-screen */
.grecaptcha-badge {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Ensure form still works */
.g-recaptcha {
    display: none !important;
}

/* Hide any reCAPTCHA elements */
[data-sitekey] {
    display: none !important;
}

/* Thank You Page Styles */
.thank-you-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    color: white;
    z-index: 2;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 80px);
}

/* Glowing Logo */
.glowing-logo {
    margin-bottom: 40px;
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(16, 185, 129, 0.6));
    }
}

/* Success Section */
.success-section {
    margin-bottom: 50px;
}

.thank-you-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.thank-you-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #10b981;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.thank-you-message {
    max-width: 600px;
    margin: 0 auto;
}

.main-message {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 500;
}

.secondary-message {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.8;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    margin: 50px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.twitter:hover {
    background: #1a8cd8;
    transform: translateY(-2px);
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
}

.share-btn.copy-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.share-btn.copy-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Back Home Section */
.back-home-section {
    margin-top: 40px;
}

.back-home-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.back-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.back-home-button:hover::before {
    left: 100%;
}

.back-home-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.back-home-button:active {
    transform: translateY(-1px);
}

/* Confetti Animation */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall 4s linear infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Edge Effect Animation */
.edge-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.edge-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #10b981, transparent);
    animation: edgeSweep 3s ease-in-out infinite;
}

@keyframes edgeSweep {
    0% {
        transform: translateY(-100px) scaleY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(50vh) scaleY(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) scaleY(0);
        opacity: 0;
    }
}

/* Thank You Page Responsive Design */
@media (max-width: 1024px) {
    .thank-you-content {
        justify-content: flex-start;
        min-height: auto;
        padding: 30px 20px;
    }
    
    .thank-you-title {
        font-size: 3.5rem;
    }
    
    .thank-you-subtitle {
        font-size: 2rem;
    }
    
    .main-message {
        font-size: 1.2rem;
    }
    
    .secondary-message {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 30px 25px;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .thank-you-content {
        padding: 30px 15px;
        justify-content: flex-start;
        min-height: auto;
    }
    
    .thank-you-title {
        font-size: 3rem;
        margin-bottom: 12px;
    }
    
    .thank-you-subtitle {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .main-message {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }
    
    .secondary-message {
        font-size: 0.95rem;
    }
    
    .cta-section {
        padding: 25px 20px;
        margin: 40px 0;
    }
    
    .cta-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .back-home-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .thank-you-content {
        padding: 20px 10px;
    }
    
    .thank-you-title {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .thank-you-subtitle {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .main-message {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .secondary-message {
        font-size: 0.9rem;
    }
    
    .cta-section {
        padding: 20px 15px;
        margin: 30px 0;
    }
    
    .cta-text {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .share-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .back-home-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
