/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #101A2C;
    background: #FFFFFF;
    overflow-x: hidden !important;
    max-width: 100% !important;
    word-wrap: break-word;
}

/* Container */
.container {
    width: 100%;
    max-width: 100% !important;
    padding: 0 16px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .container {
        max-width: 1200px;
        padding: 0 60px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bungee', cursive, 'Arial Black', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: #101A2C;
}

h1 {
    font-size: clamp(24px, 5vw, 36px);
}

h2 {
    font-size: clamp(20px, 4vw, 32px);
}

h3 {
    font-size: clamp(18px, 3vw, 24px);
}

p {
    font-size: clamp(14px, 2.5vw, 15px);
    line-height: 1.5;
}

.gradient-text {
    background: linear-gradient(135deg, #14309B 0%, #3779D5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    border: none;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #101A2C;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #0D1525;
    box-shadow: 0 0 15px rgba(16, 26, 44, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #101A2C;
    border: 2px solid #101A2C;
}

.btn-secondary:hover {
    background: #101A2C;
    color: #FFFFFF;
}

.btn-cta {
    background: #101A2C;
    color: #FFFFFF;
    padding: 10px 40px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 0 7.3px rgba(16, 26, 44, 0.4);
    border-radius: 100px;
}

.btn-cta:hover {
    box-shadow: 0 0 15px rgba(16, 26, 44, 0.6);
    transform: translateY(-2px);
}

.btn-cta-white {
    background: #FFFFFF;
    color: #507DF4;
    padding: 10px 40px;
    font-size: 20px;
    box-shadow: 0 0 7px rgba(188, 212, 255, 0.4);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background: linear-gradient(180deg, #DFECFC 0%, #537FF4 100%);
    padding: 10px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F8F9FB;
    border-radius: 100px;
    padding: 10px;
    min-height: 60px;
    gap: 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #507DF4;
    font-family: 'Bungee', cursive, 'Arial Black', sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.logo-img {
    width: 44px;
    height: auto;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 50px;
}

.nav-link {
    color: #101A2C;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    background: #507DF4;
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 100px;
}

.nav-link.active {
    background: #507DF4;
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 100px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

/* Mobile Menu */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 3px;
    z-index: 1001;
}

.burger-menu span {
    width: 16px;
    height: 2px;
    background: #101A2C;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 280px;
    height: 100%;
    background: #FFFFFF;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #101A2C;
}

.mobile-nav-link {
    color: #101A2C;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #E5E5E5;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

@media (min-width: 900px) {
    .nav-menu {
        display: flex;
    }
    
    .burger-menu {
        display: none;
    }
}

@media (max-width: 900px) {
    .nav {
        justify-content: space-between;
        gap: 10px;
    }
    
    .header {
        padding: 10px 20px;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 10px 15px;
    }
    
    .nav {
        padding: 8px;
        gap: 5px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #DFECFC 0%, #537FF4 100%);
    padding: 58px 0 60px;
}

.hero-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    background: linear-gradient(180deg, #FFFFFF 0%, #E5EFFD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-family: 'Bungee', cursive, 'Arial Black', sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.2;
}

.hero-description {
    color: #FFFFFF;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.21;
}

.hero-image {
    flex-shrink: 0;
}

.hero-img {
    width: 392px;
    height: 359px;
    object-fit: cover;
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-img {
        max-width: 300px;
    }
    
    .btn-cta {
        font-size: 18px;
        padding: 8px 30px;
    }
}

/* Welcome Section */
.welcome-section {
    padding: 60px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(180deg, #F7FAFF 0%, #E1EAF3 100%);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 15px;
    color: #101A2C;
    margin-bottom: 20px;
}

.star-icon {
    background: #507DF4;
    color: #FFFFFF;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.section-title {
    margin-bottom: 20px;
}

.section-text {
    margin-bottom: 15px;
    color: #101A2C;
}

.content-image {
    text-align: center;
}

.content-bg {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 30px;
}

@media (min-width: 900px) {
    .content-wrapper {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(180deg, #507DF4 0%, #94B1FF 100%);
    padding: 120px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: #FFFFFF;
    border: 7px solid #9DCBFF;
    border-radius: 30px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 86px;
    height: 86px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #507DF4;
    margin: 0;
}

.stat-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #507DF4;
    margin: 0;
}

@media (min-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Features Section */
.features-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: linear-gradient(135deg, #507DF4 0%, #84A5FC 100%);
    border-radius: 30px;
    padding: 40px;
    color: #FFFFFF;
    text-align: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #80A6FD 0%, #A2BEFF 0%, #ECF2FF 100%);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.heart-icon {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.feature-text {
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
}

@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 60px;
    align-items: stretch;
}

.contact-content {
    flex: 1;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-heading {
    font-family: 'Bungee', cursive, 'Arial Black', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
    color: #101A2C;
}

.contact-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.21;
    color: #101A2C;
    margin: 0;
}

.contact-form-wrapper {
    width: 549px;
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #CACACA;
    border-radius: 5px;
    background: #FFFFFF;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: rgba(54, 68, 117, 0.5);
    box-sizing: border-box;
}

.contact-form .form-group-message textarea {
    padding: 14px 20px 40px;
    resize: vertical;
    min-height: 80px;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: rgba(54, 68, 117, 0.5);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 13px;
}

.btn-contact {
    width: 100%;
    padding: 14px 20px;
    background: #3D6FF4;
    color: #FFFFFF;
    border: none;
    border-radius: 100px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 6.6px rgba(97, 136, 247, 0.7);
}

.btn-contact:hover {
    background: #2D5CE8;
    box-shadow: 0 0 12px rgba(97, 136, 247, 0.8);
    transform: translateY(-1px);
}

/* Mobile Contact Styles */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }
    
    .contact-content {
        max-width: 100%;
    }
    
    .contact-form-wrapper {
        width: 100%;
    }
    
    .contact-heading {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .contact-wrapper {
        padding: 30px 15px;
    }
    
    .contact-heading {
        font-size: 24px;
    }
    
    .contact-description {
        font-size: 14px;
    }
}

/* Contact CTA Section */
.contact-cta {
    background: #507DF4;
    padding: 40px 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}

.cta-text {
    text-align: center;
}

.cta-title {
    font-size: 48px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.cta-image {
    text-align: center;
}

.cta-img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

@media (min-width: 900px) {
    .cta-content {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
    
    .cta-text {
        text-align: left;
    }
    
    .cta-title {
        font-size: 48px;
    }
}

/* Footer */
.footer {
    background: #101A2C;
    color: #FFFFFF;
    padding: 70px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.footer-text {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 24px;
    max-width: 80px;
    color: #FFFFFF;
    font-size: 14px;
    display: flex;
    align-items: center;
    object-fit: contain;
}

.footer-logo img,
.footer-logos img {
    height: 24px;
    max-width: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #507DF4;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Popup Styles - Updated to match Figma design */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: #101A2C;
    border-radius: 10px;
    padding: 40px;
    width: 405px;
    height: 352px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    box-sizing: border-box;
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.popup-close {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    font-size: 18px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.popup-tabs {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-bottom: 10px;
}

.popup-tab {
    flex: 1;
    padding: 10px 0;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.7;
    border-bottom: 2px solid transparent;
    text-align: center;
}

.popup-tab.active {
    opacity: 1;
    border-bottom-color: #FFFFFF;
}

.popup-form {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.popup-form.active {
    display: flex;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 325px;
}

.form-group label {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    height: 39px;
    padding: 5px 18px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    background: #FFFFFF;
    color: #000000;
    box-sizing: border-box;
}

.popup .btn {
    width: 100%;
    max-width: 325px;
    height: 39px;
    background: #507DF4;
    color: #FFFFFF;
    border: none;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 30px;
}

.popup .btn:hover {
    background: #4169E1;
}

/* Success Popup - Updated to match Figma design */
.success-popup {
    background: #101A2C;
    text-align: center;
    max-width: 405px;
    width: 405px;
    height: 305px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 100%;
}

.success-icon {
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    color: #507DF4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.success-popup h3 {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
    margin: 0 0 20px 0;
}

.success-popup .btn {
    width: 100%;
    height: 39px;
    background: #507DF4;
    color: #FFFFFF;
    border: none;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 17px;
    cursor: pointer;
    padding: 10px 30px;
}

/* Responsive Design */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 24px !important;
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logos {
        gap: 15px;
    }
    
    /* Mobile Popup Styles */
    .popup {
        width: 95%;
        max-width: 350px;
        height: auto;
        min-height: 300px;
        padding: 30px 20px;
    }
    
    .success-popup {
        width: 95%;
        max-width: 350px;
        height: auto;
        min-height: 250px;
    }
    
    .form-group {
        max-width: 100%;
    }
    
    .popup .btn {
        max-width: 100%;
    }
}

@media (max-width: 390px) {
    .popup {
        width: 90%;
        max-width: 320px;
        height: auto;
        min-height: 280px;
        padding: 20px 15px;
    }
    
    .form-group input {
        height: 35px;
        font-size: 13px;
    }
    
    .popup .btn {
        height: 35px;
        font-size: 14px;
    }
    
    .success-popup {
        width: 90%;
        max-width: 320px;
        height: auto;
        min-height: 250px;
    }
    
    .success-popup h3 {
        font-size: 20px;
    }
}

/* Horizontal Scroll Protection */
html, body {
    overflow-x: hidden !important;
}

* {
    max-width: 100% !important;
}

img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
}

/* Z-index hierarchy */
.header {
    z-index: 1000;
}

.mobile-menu {
    z-index: 999;
}

.burger-menu {
    z-index: 1001;
}

.popup-overlay {
    z-index: 2000;
}