/* Design System */
:root {
    --primary-blue: #0019a5;
    --dark-blue: #00106a;
    --light-blue: #e6f0ff;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-grey: #f4f7f9;
    --error: #d32f2f;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 80px; /* Space for fixed header */
}

/* Header Styles */
header {
    background-color: var(--primary-blue);
    padding: 1rem 5%;
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

body {
    padding-top: 80px; /* Space for fixed header */
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 400;
    color: white;
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.logo-icon .o-char {
    border: 3px solid white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-block;
}

.logo-icon sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    margin-left: 2px;
    vertical-align: bottom;
    position: relative;
    bottom: -5px;
}

.nav-actions {
    display: flex;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: white;
}

.nav-actions i {
    cursor: pointer;
    transition: var(--transition);
}

.nav-actions i:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Main Container */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.mainh1{
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    
}

.payment-section,
.info-section {
    display: flex;
    flex-direction: column;
}

/* Form Section */
.payment-card {
    background: linear-gradient(180deg, #0019a5 0%, #004fb6 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.payment-card h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    margin-bottom: 2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.input-wrapper {
    position: relative;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #333333;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.payment-methods {
    margin-top: 2rem;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    color: black;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-methods img {
    height: 55px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Info Section */
.privacy-header {
    margin-bottom: 2rem;
}

.privacy-header h3 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.privacy-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.app-promo-card {
    background: linear-gradient(180deg, #0019a5 0%, #004fb6 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.app-promo-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-bottom: 1rem;
}

.app-promo-content h4 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 500;
}

.app-promo-content p {
    color: white;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
    line-height: 1.25;
    opacity: 0.95;
    max-width: 90%;
}

.sign-in-link {
    color: white;
    text-decoration: underline;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-underline-offset: 6px;
}

.app-image {
    margin-top: auto;
    align-self: center;
    width: 100%;
    max-width: 285px;
    height: auto;
    object-fit: contain;
    z-index: 1;
    mix-blend-mode: screen;
    pointer-events: none;
    transition: var(--transition);
}

.app-promo-card:hover .app-image {
    transform: translateY(-10px);
}

/* Footer Styles */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.footer-nav-item:hover {
    opacity: 0.8;
}

.footer-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links-grid {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    opacity: 0.8;
    cursor: pointer;
    transition: var(--transition);
}

.footer-col ul li:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links i {
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
}

.social-links i:hover {
    opacity: 1;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.legal-links span {
    opacity: 0.8;
    cursor: pointer;
}

.legal-links span:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.regulatory {
    font-size: 0.75rem;
    opacity: 0.5;
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 992px) {
    main {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        grid-column: span 1;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.8rem;
    }

    .payment-card, .app-promo-card {
        padding: 1.2rem;
    }

    main {
        margin: 1rem auto;
        gap: 1.5rem;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}