:root {
    --background-color: #f4f7f9;
    --card-bg: #ffffff;
    --theme-color: #0a84ff;
    --theme-color-dark: #0060d0;
    --accent-green: #28c76f;
    --accent-purple: #8b5cf6;
    --text-dark: #111827;
    --text-medium: #374151;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --font-family: 'Inter', sans-serif;
    --hero-sky: rgba(10, 132, 255, 0.14);
    --hero-mint: rgba(40, 199, 111, 0.12);
    --hero-gold: rgba(245, 158, 11, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-medium);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--theme-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--theme-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 18px -10px rgba(10, 132, 255, 0.6);
}

.btn-secondary {
    background-color: rgba(15, 23, 42, 0.08);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: rgba(15, 23, 42, 0.16);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: #fff;
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
}

.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 800;
    font-family: "Space Grotesk", "Inter", sans-serif;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    position: relative;
    padding: 0.35rem 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    background: var(--theme-color);
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
}

.mobile-login {
    display: none;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    line-height: 1;
}

.mobile-login:hover {
    color: var(--theme-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.hero-section {
    padding: 4.75rem 0 4rem;
    background:
        radial-gradient(circle at 12% 12%, var(--hero-sky), transparent 38%),
        radial-gradient(circle at 88% 16%, var(--hero-mint), transparent 34%),
        radial-gradient(circle at 76% 88%, var(--hero-gold), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f3f8ff 55%, #f7fbff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(2px);
}

.hero-section::before {
    width: 280px;
    height: 280px;
    left: -120px;
    bottom: -120px;
    background: radial-gradient(circle at center, rgba(10, 132, 255, 0.18), transparent 68%);
}

.hero-section::after {
    width: 320px;
    height: 320px;
    right: -130px;
    top: -140px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.16), transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: nowrap;
    max-width: 100%;
    margin: 0 auto;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    gap: 1rem;
    max-width: 520px;
}

.hero-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(10, 132, 255, 0.12);
    background: rgba(10, 132, 255, 0.08);
    box-shadow: 0 10px 20px -18px rgba(15, 23, 42, 0.45);
}

.hero-highlights li:nth-child(2) {
    border-color: rgba(40, 199, 111, 0.18);
    background: rgba(40, 199, 111, 0.1);
}

.hero-highlights li:nth-child(3) {
    border-color: rgba(245, 158, 11, 0.22);
    background: rgba(245, 158, 11, 0.1);
}

.hero-highlights i {
    color: var(--theme-color);
    background: rgba(10, 132, 255, 0.12);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hero-highlights li:nth-child(2) i {
    color: #0f8a49;
    background: rgba(40, 199, 111, 0.2);
}

.hero-highlights li:nth-child(3) i {
    color: #b45309;
    background: rgba(245, 158, 11, 0.22);
}

.hero-highlights div {
    display: grid;
    gap: 0.15rem;
}

.hero-highlights .highlight-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.hero-highlights .highlight-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-image-gallery {
    perspective: 1500px;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    padding: 0.55rem;
    background: linear-gradient(140deg, rgba(10, 132, 255, 0.14), rgba(139, 92, 246, 0.12), rgba(40, 199, 111, 0.12));
    box-shadow: 0 24px 45px -28px rgba(10, 132, 255, 0.45);
}

.hero-image-slider {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.hero-image-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.35);
    opacity: 0;
    animation: slideShow 16s linear infinite;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #0a84ff 0%, #2563eb 50%, #1d4ed8 100%);
    border-color: rgba(29, 78, 216, 0.3);
}

/* Evaluate Draft specific button (green) */
.hero-cta .btn-eval {
    background: linear-gradient(135deg, #11a37f 0%, #0da06f 50%, #0b8f5f 100%);
    border-color: rgba(13, 160, 111, 0.28);
}

.hero-cta .btn-eval {
    color: #fff;
}

.hero-cta .btn-eval:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(13,160,111,0.14);
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0.72rem 1.1rem;
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
    justify-content: center;
}

.hero-image-slider img:nth-child(2) { animation-delay: 4s; }
.hero-image-slider img:nth-child(3) { animation-delay: 8s; }
.hero-image-slider img:nth-child(4) { animation-delay: 12s; }

@keyframes slideShow {
    0% {
        opacity: 0;
        transform: rotateY(-12deg) scale(0.96);
    }
    10%, 25% {
        opacity: 1;
        transform: rotateY(0) scale(1);
    }
    35%, 100% {
        opacity: 0;
        transform: rotateY(12deg) scale(0.96);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.35rem;
    color: var(--text-dark);
    margin: 0 0 0.65rem 0;
}

.section-header p {
    margin: 0 auto;
    max-width: 620px;
    color: var(--text-light);
}

.essentials-section {
    padding: 3.5rem 0 1.5rem;
}

.essentials-copy {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.essentials-copy h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.essentials-copy p {
    color: var(--text-light);
    margin: 0;
}

.essentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.essentials-card {
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    box-shadow: 0 18px 32px -24px rgba(15, 23, 42, 0.28);
    min-height: 170px;
}

.essentials-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 0.75rem;
}

.essentials-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
}

.testimonials-section {
    padding: 2.25rem 0 1.5rem;
}

.testimonials-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.25rem;
}

.testimonials-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(10, 132, 255, 0.1);
    color: var(--theme-color-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.testimonials-header h2 {
    margin: 0.9rem 0 0.75rem;
    font-size: 2.1rem;
    color: var(--text-dark);
}

.testimonials-header p {
    margin: 0;
    color: var(--text-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-height: 100%;
    padding: 1.55rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 36px -28px rgba(15, 23, 42, 0.34);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.34), transparent 38%);
}

.testimonial-card--blue {
    border-color: rgba(10, 132, 255, 0.18);
}

.testimonial-card--green {
    border-color: rgba(40, 199, 111, 0.22);
}

.testimonial-card--gold {
    border-color: rgba(245, 158, 11, 0.24);
}

.testimonial-card__topline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.testimonial-card__case {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(10, 132, 255, 0.1);
    color: var(--theme-color-dark);
}

.testimonial-card__person {
    display: flex;
    justify-content: center;
    text-align: center;
}

.testimonial-card__person > div {
    max-width: 18rem;
}

.testimonial-card__person h3 {
    margin: 0;
    font-size: 0.95rem;
    font-family: "Space Grotesk", "Inter", sans-serif;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.testimonial-card__person p {
    margin: 0.22rem 0 0;
    color: var(--text-light);
    font-size: 0.76rem;
    line-height: 1.5;
}

.testimonial-card blockquote {
    margin: 0;
    color: var(--text-medium);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.87rem;
    font-style: italic;
    line-height: 1.72;
}

.plans-section {
    padding: 3.75rem 0;
}

.plans-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.plans-header h2 {
    font-size: 2.1rem;
    color: var(--text-dark);
    margin-bottom: 0.65rem;
}

.plans-header p {
    margin: 0;
    color: var(--text-light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.plans-login-cta {
    margin-top: 2rem;
    padding: 1.75rem;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 14px 28px -26px rgba(15, 23, 42, 0.4);
}

.plans-login-cta__title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.plans-login-cta__text {
    margin: 0;
    color: var(--text-light);
}

.plan-card {
    background: var(--card-bg);
    border-radius: 22px;
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 22px 40px -28px rgba(10, 132, 255, 0.35);
}

.plan-card--accent {
    background: linear-gradient(145deg, rgba(10, 132, 255, 0.12), rgba(10, 132, 255, 0.04));
    border-color: rgba(10, 132, 255, 0.2);
}

/* Green single-eval plan */
.plan-card--green {
    background: linear-gradient(145deg, rgba(17,163,127,0.12), rgba(17,163,127,0.04));
    border-color: rgba(17,163,127,0.18);
}

.plan-card--green .plan-card__badge {
    background: rgba(17,163,127,0.12);
    color: #0b7556;
}

.plan-card--green .plan-price__current {
    color: var(--accent-green);
}

.plan-card--green .plan-cta {
    background: linear-gradient(135deg, #11a37f 0%, #0da06f 50%);
    box-shadow: 0 14px 30px rgba(13,160,111,0.12);
}

.plan-card__badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(10, 132, 255, 0.12);
    color: var(--theme-color-dark);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.plan-card h3 {
    margin: 0;
    font-size: 1.45rem;
    color: var(--text-dark);
    text-align: center;
}

.plan-price {
    font-size: 2.8rem;
    margin: 0;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    justify-content: center;
}

.plan-price sup {
    font-size: 1rem;
    top: -1rem;
    margin-right: 0.25rem;
}

.plan-price__promo {
    font-size: 1.2rem;
    color: rgba(239, 68, 68, 0.75);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.plan-price__promo sup {
    font-size: 0.7rem;
    top: -0.5rem;
}

.plan-price__current {
    font-weight: 700;
    color: #0a84ff;
}

.plan-note {
    margin: 0;
    color: var(--text-light);
}

.plan-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    color: var(--text-medium);
}

.plan-card li::before {
    content: "\2713";
    color: var(--theme-color);
    margin-right: 0.35rem;
    font-weight: 600;
}

.plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    background: var(--theme-color);
    color: #fff;
    margin-top: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 26px -18px rgba(10, 132, 255, 0.55);
}

.plan-cta--ghost {
    background: rgba(10, 132, 255, 0.12);
    color: var(--theme-color-dark);
}

.cta-section {
    padding: 3.5rem 0 4.5rem;
}

.cta-inner {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.12), rgba(10, 132, 255, 0.24));
    border-radius: 26px;
    padding: 2.4rem 2.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid rgba(10, 132, 255, 0.26);
    box-shadow: 0 16px 36px -18px rgba(10, 132, 255, 0.35);
}

.cta-inner h2 {
    margin: 0 0 0.45rem;
    font-size: 2rem;
    color: var(--text-dark);
}

.cta-inner p {
    margin: 0;
    color: var(--text-light);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-actions .btn-outline {
    background: #fff;
    border-color: rgba(10, 132, 255, 0.5);
    color: var(--theme-color-dark);
}

.cta-actions .btn-outline:hover {
    background: var(--theme-color-dark);
    color: #fff;
}

.login-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.login-modal.is-active {
    display: flex;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    width: min(480px, calc(100% - 2rem));
    box-shadow: 0 40px 70px -45px rgba(15, 23, 42, 0.55);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.login-card__header {
    padding: 2rem 2.4rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    text-align: center;
}

.login-card__header h3 {
    margin: 0;
    font-size: 1.7rem;
    color: var(--text-dark);
    font-weight: 700;
}

.login-subtitle {
    margin: 0.65rem 0 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.login-alert {
    margin: 0;
    padding: 0 2.4rem;
    font-size: 0.95rem;
    display: none;
}

.login-alert.is-visible {
    display: block;
    padding-top: 1rem;
    padding-bottom: 0;
}

.alert--error {
    color: #b42318;
}

.alert--success {
    color: #15803d;
}

.alert--info {
    color: #0a84ff;
}

.login-card__body {
    padding: 2rem 2.4rem 2.2rem;
    display: grid;
    gap: 1.4rem;
}

.login-form {
    display: grid;
    gap: 1rem;
}

.login-form .btn,
.login-form .btn.btn-google {
    width: auto;
    justify-self: center;
    min-width: 220px;
    max-width: 100%;
}

.login-form label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
}

.login-form input[type="email"],
.login-form input[type="text"] {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.18);
}

.code-field {
    letter-spacing: 0.35rem;
    text-align: center;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.login-divider {
    position: relative;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0.5rem 0;
}

.login-divider span {
    background: #fff;
    padding: 0 0.75rem;
    position: relative;
    z-index: 1;
}

.login-divider::before,
.login-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(15, 23, 42, 0.1);
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.btn-link {
    background: none;
    border: none;
    color: var(--theme-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    width: auto;
}

.btn.btn-google:hover {
    border-color: rgba(10, 132, 255, 0.35);
    box-shadow: 0 8px 18px -16px rgba(10, 132, 255, 0.4);
}

.btn.btn-google img {
    width: 18px;
    height: 18px;
}

.login-modal[data-step="email"] #loginCodeStep {
    display: none;
}

.login-modal[data-step="code"] #loginEmailStep {
    display: none;
}

.login-modal[data-step="code"] #loginCodeStep {
    display: grid;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.08);
    color: #ef4444;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
}

.close-btn:hover {
    background: rgba(10, 132, 255, 0.18);
    transform: translateY(-1px);
}

.main-footer {
    background: var(--text-dark);
    color: #d1d5db;
    padding: 3.2rem 0 1.6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-logo {
    color: #fff;
}

.footer-brand p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
    margin: 0 0 1rem 0;
    color: #fff;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
    color: var(--theme-color);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.35rem;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--theme-color);
}

.social-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-row a:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle,
    .hero-highlights {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-gallery {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: min(220px, 72vw);
        background: #fff;
        padding: 1rem 1.25rem;
        flex-direction: column;
        border-bottom: 1px solid var(--border-color);
        border-radius: 14px;
        box-shadow: 0 12px 22px -14px rgba(15, 23, 42, 0.25);
    }

    .nav-menu.is-active {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .mobile-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        order: 3;
        margin-left: auto;
        margin-right: 6px;
    }

    .nav-toggle {
        display: block;
        order: 4;
    }

    .brand-logo {
        font-size: 18px;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .plans-login-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .essentials-grid,
    .testimonials-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1.75rem;
    }

    .cta-actions {
        width: 100%;
        justify-content: center;
    }

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

    .footer-social {
        align-items: center;
    }

    .social-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 240px;
    }
}

@media (min-width: 993px) {
    .mobile-login {
        display: none !important;
    }
}

@media (max-width: 720px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-section {
        padding: 3.5rem 0 3rem;
    }

    .hero-image-gallery {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }

    .hero-image-slider img {
        animation: slideShow 14s linear infinite;
        opacity: 0;
        position: absolute;
    }

    .hero-image-slider img:first-child {
        box-shadow: 0 14px 28px -18px rgba(15, 23, 42, 0.35);
    }

    .cta-inner {
        padding: 2rem 2.2rem;
    }
}

@media (max-width: 620px) {
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.35rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-highlights li {
        padding: 0.75rem 0.85rem;
        gap: 0.75rem;
    }

    .hero-highlights i {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .hero-highlights .highlight-title {
        font-size: 0.95rem;
    }

    .hero-highlights .highlight-text {
        font-size: 0.9rem;
    }

    .essentials-card,
    .plan-card {
        padding: 1.75rem;
    }

    .plan-card h3,
    .plan-price {
        align-self: center;
        text-align: center;
        width: 100%;
    }

    .plan-card__badge {
        align-self: flex-start;
        text-align: left;
        width: auto;
        max-width: 100%;
    }

    .plan-price {
        font-size: 2.4rem;
    }

    .cta-inner {
        padding: 1.8rem 1.6rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .footer-brand .brand-logo {
        justify-content: center;
    }

    .footer-social {
        flex-direction: column;
        align-items: center;
    }

    .social-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 220px;
    }

    .login-modal {
        align-items: flex-start;
        padding: 1.5rem 1rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .login-card {
        width: min(320px, 90vw);
        border-radius: 16px;
        max-height: 84vh;
        max-height: 84dvh;
        box-shadow: 0 20px 44px -28px rgba(15, 23, 42, 0.45);
    }

    .login-card__header {
        padding: 1.1rem 1.3rem 0.8rem;
    }

    .login-card__body {
        padding: 1.1rem 1.3rem 1.3rem;
        gap: 0.9rem;
    }

    .login-form .btn,
    .login-form .btn.btn-google {
        min-width: 0;
        width: 100%;
    }

    .login-card__header h3 {
        font-size: 1.35rem;
    }

    .login-subtitle {
        font-size: 0.88rem;
    }

    .login-form input[type="email"],
    .login-form input[type="text"] {
        padding: 0.7rem 0.85rem;
        border-radius: 10px;
    }

    .close-btn {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
}
