/* ===============================
   BASE
================================ */

* {
    box-sizing: border-box;
}

body {
    background: #F8F9FB;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    min-height: 100vh;
    color: #1A1A1A;
}

/* ===============================
   NAVBAR (FIXED & RESPONSIVE)
================================ */

.navbar {
    width: 100%;
    padding: 20px 40px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;

    background: #F8F9FB;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

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

.logo img {
    height: 40px;
}

/* ===============================
   NAV LINKS
================================ */

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 16px;
    border-radius: 20px;

    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #1A1A1A;

    transition: background 0.25s ease, color 0.25s ease;
}

/* hover capsule (desktop only) */
@media (hover: hover) {
    .nav-item:hover > a {
        background: rgba(37, 99, 235, 0.10);
        color: #2563EB;
    }
}

/* ===============================
   ARROW
================================ */

.arrow {
    display: inline-block;
    border: solid #1A1A1A;
    border-width: 0 2px 2px 0;
    padding: 3px;

    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

/* arrow rotate */
@media (hover: hover) {
    .nav-item:hover .arrow {
        transform: rotate(-135deg);
        border-color: #2563EB;
    }
}

.nav-item.active .arrow {
    transform: rotate(-135deg);
    border-color: #2563EB;
}

/* ===============================
   DROPDOWN
================================ */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;

    min-width: 220px;
    padding: 10px;

    background: #ffffff;
    border-radius: 18px;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.04);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;

    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;

    font-size: 15px;
    font-weight: 500;
    color: #1A1A1A;
    text-decoration: none;

    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.10);
    color: #2563EB;
}

/* show dropdown – desktop hover */
@media (hover: hover) {
    .nav-item:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* show dropdown – mobile click */
.nav-item.active > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* prevent blue pill when active */
.nav-item.active > a {
    background: transparent;
    color: #1A1A1A;
}

/* ===============================
   NAVBAR CTA
================================ */

.nav-cta {
    display: flex;
    justify-content: flex-end;
}

.notify-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;

    background: #2563EB;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    transition: background 0.25s ease, transform 0.15s ease;
}

.notify-btn:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
}

/* ===============================
   NAVBAR RESPONSIVE
================================ */

@media (max-width: 900px) {

    .navbar {
        grid-template-columns: auto auto;
    }

    .nav-links {
        display: none;
    }
}

/* ===============================
   HERO
================================ */

.hero {
    min-height: calc(100vh - 80px);
    padding-top: 120px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    width: 85%;
    max-width: 1200px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

/* ===============================
   LEFT CONTENT
================================ */

.left {
    flex: 1;
}

.left h1 {
    font-size: 70px;
    font-weight: 600;
    margin: 0;
}

.left h2 {
    font-size: 38px;
    font-weight: 500;
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

.left p {
    font-size: 18px;
    color: #4D4F52;
    margin-bottom: 16px;
}

/* ===============================
   NOTIFY BOX
================================ */

.notify-box {
    display: flex;
    background: white;
    border: 2px solid #E5E5E5;
    border-radius: 50px;
    width: 600px;
    height: 50px;
    overflow: hidden;
}

.notify-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    padding: 0 24px;
}

.notify-box button {
    background: #2563EB;
    color: white;
    border: none;
    padding: 0 40px;
    font-size: 18px;
    cursor: pointer;
}

.notify-box button:hover {
    background: #1D4ED8;
}

/* ===============================
   NOTIFY CONSENT
================================ */

.notify-consent {
    margin-top: 14px;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;

    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

/* hide native checkbox */
.consent-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* custom checkbox */
.checkmark {
    width: 18px;
    height: 18px;
    margin-top: 2px;

    border: 2px solid #D1D5DB;
    border-radius: 5px;
    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.2s ease, border-color 0.2s ease;
}

/* check icon */
.checkmark::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

/* checked state */
.consent-checkbox input:checked + .checkmark {
    background: #2563EB;
    border-color: #2563EB;
}

.consent-checkbox input:checked + .checkmark::after {
    opacity: 1;
}

/* text + links */
.consent-text a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.consent-text a:hover {
    text-decoration: underline;
}

/* ===============================
   NOTIFY FORM STATES
================================ */

.notify-box button:disabled {
    background: #CBD5E1;
    cursor: not-allowed;
}

.notify-box button:disabled:hover {
    background: #CBD5E1;
    transform: none;
}

/* consent error text */
.consent-error {
    margin-top: 6px;
    font-size: 13px;
    color: #DC2626; /* red-600 */
    display: none;
}

/* ===============================
   RIGHT – PHONE STACK
================================ */

.right {
    position: relative;
    width: 520px;
    height: 520px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.right::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;

    background: radial-gradient(
        circle,
        rgba(40,81,163,0.30) 0%,
        rgba(40,81,163,0.20) 35%,
        rgba(255,255,255,0) 100%
    );

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(45px);
    z-index: 0;
    pointer-events: none;
}

.phones {
    position: relative;
    width: 500px;
    height: 500px;
    z-index: 5;
}

.phone {
    position: absolute;
    width: 200px;
}

.phone1 {
    top: 60px;
    left: 0;
    transform: rotate(-12deg);
    z-index: 2;
}

.phone2 {
    top: 0;
    left: 110px;
    width: 220px;
    z-index: 3;
}

.phone3 {
    top: 80px;
    left: 240px;
    transform: rotate(12deg);
    z-index: 1;
}

/* ===============================
   ABOUT PAGE
================================ */

.about-page {
    padding-top: 120px;
}

.about-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.about-hero h1 {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 20px;
    color: #4D4F52;
}

.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.about-section.alt {
    background: rgba(37, 99, 235, 0.04);
    border-radius: 24px;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.about-section p {
    font-size: 18px;
    color: #4D4F52;
    line-height: 1.6;
}

.about-cta {
    text-align: center;
    padding: 100px 20px;
}

.cta-button {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 36px;
    background: #2563EB;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
}

.cta-button:hover {
    background: #1D4ED8;
}

/* ===============================
   PRIVACY POLICY PAGE
================================ */

.policy-page {
    padding-top: 120px;
}

.policy-header {
    text-align: center;
    margin-bottom: 60px;
}

.policy-header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 8px;
}

.policy-meta {
    color: #6B7280;
    font-size: 14px;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.policy-content h2 {
    font-size: 28px;
    margin-top: 48px;
}

.policy-content h3 {
    font-size: 20px;
    margin-top: 32px;
}

.policy-content p,
.policy-content li {
    font-size: 16px;
    color: #374151;
    line-height: 1.7;
}

.policy-content ul {
    padding-left: 20px;
}

.policy-highlight {
    background: rgba(37, 99, 235, 0.06);
    border-left: 4px solid #2563EB;
    padding: 20px;
    border-radius: 12px;
    margin: 32px 0;
}

.policy-content hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 48px 0;
}

/* ===============================
   TERMS OF SERVICE PAGE
   (shares Privacy Policy styles)
================================ */

/* Alias TOS page to policy layout */
.tos-page {
    padding-top: 120px;
}

/* Make tos-page behave exactly like policy-page */
.tos-page .policy-header,
.tos-page .policy-content,
.tos-page .policy-meta,
.tos-page .policy-highlight {
    all: unset;
}

/* Re-apply policy styles inside tos-page */
.tos-page .policy-header {
    text-align: center;
    margin-bottom: 60px;
}

.tos-page .policy-header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tos-page .policy-meta {
    color: #6B7280;
    font-size: 14px;
}

.tos-page .policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.tos-page .policy-content h2 {
    font-size: 28px;
    margin-top: 48px;
}

.tos-page .policy-content h3 {
    font-size: 20px;
    margin-top: 32px;
}

.tos-page .policy-content p,
.tos-page .policy-content li {
    font-size: 16px;
    color: #374151;
    line-height: 1.7;
}

.tos-page .policy-content ul {
    padding-left: 20px;
}

.tos-page .policy-highlight {
    background: rgba(37, 99, 235, 0.06);
    border-left: 4px solid #2563EB;
    padding: 20px;
    border-radius: 12px;
    margin: 32px 0;
}

.tos-page .policy-content hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 48px 0;
}