:root {
    --bg-alt: #ffffff;
    --text: #0f172a;
    --muted: #6b7280;

    --accent: #2663d4;          /* primary blue */
    --accent-strong: #153b8a;   /* deep blue */

    --border: #d9e2ff;
    --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.08);
    --max-width: 1120px;
}

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

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
    background:
    radial-gradient(circle at top left, #e3edff 0, #f4f7ff 45%, #ffffff 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page {
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header / nav */

header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom,
    rgba(244, 247, 255, 0.96),
    rgba(244, 247, 255, 0.86),
    transparent
    );
    border-bottom: 1px solid rgba(217, 226, 255, 0.9);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 2rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.logo-pill {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: conic-gradient(
    from 160deg,
    #4f8df5,
    #2663d4,
    #153b8a,
    #4f8df5
    );
    padding: 2px;
    position: relative;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.logo-pill-inner {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-pill-inner img.app-icon {
    width: 68%;
    height: 68%;
    object-fit: cover;
}

.app-name {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    color: var(--accent-strong);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.nav-item {
    position: relative;
}

.nav-link {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* underline hover only for primary nav links */
.nav-links > a,
.nav-links .main-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-links > a::after,
.nav-links .main-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2663d4, #153b8a);
    transition: width 0.18s ease-out;
}

.nav-links > a:hover::after,
.nav-links .main-link:hover::after {
    width: 100%;
}

/* Dropdown */

.nav-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 0.6rem);
    min-width: 190px;
    padding: 0.5rem 0.4rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(217, 226, 255, 0.9);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.16s ease-out, transform 0.16s ease-out, visibility 0.16s ease-out;
    z-index: 50;
}

.nav-dropdown a {
    display: block;
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    font-size: 0.86rem;
    color: var(--muted);
}

.nav-dropdown a:hover {
    background: rgba(244, 247, 255, 0.95);
    color: var(--accent-strong);
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-cta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn {
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.13s ease-out, box-shadow 0.13s ease-out,
    background 0.13s ease-out, border-color 0.13s ease-out;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #4f8df5, #2663d4);
    color: white;
    box-shadow: 0 14px 30px rgba(38, 99, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(21, 59, 138, 0.55);
}

/* Hero */

.hero {
    padding: 4.5rem 0 4rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 2rem;
    margin-left: 0.25rem;
}

.hero-star {
    display: inline-block;
    background: linear-gradient(135deg, #facc15, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 4px rgba(251, 191, 36, 0.7);
}

.hero-cta {
    margin: 0.75rem 0 1.1rem;
}

.hero-secondary-cta {
    font-size: 0.9rem;
    padding-inline: 1rem;
    background: linear-gradient(135deg, #252c39, #5f646e);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(38, 99, 212, 0.45);
}

.hero-secondary-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(21, 59, 138, 0.6);
}

.hero h1 {
    font-size: clamp(2.35rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-gradient {
    background: linear-gradient(120deg, #1d4ed8, #2563eb, #153b8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
}

.store-badge {
    height: 48px;
    width: 160px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.83rem;
    color: var(--muted);
}

.hero-meta strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

/* Hero screenshot + decals */

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-frame {
    border-radius: 32px;
    overflow: hidden;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
}

.hero-image-frame img,
.feature-image-frame img {
    width: 100%;
    display: block;
}

.floating-screenshot {
    animation: float 6s ease-in-out infinite;
}

.glass-orbit {
    position: absolute;
    inset: 6% 2%;
    border-radius: 999px;
    background:
      radial-gradient(circle at 0 0, rgba(79,141,245,0.25), transparent 55%),
      radial-gradient(circle at 100% 100%, rgba(21,59,138,0.25), transparent 60%);
    filter: blur(2px);
    opacity: 0.9;
    z-index: -1;
}

.floating-ring {
    position: absolute;
    inset: 12% 8%;
    border-radius: 999px;
    border: 1px dashed rgba(148,163,184,0.6);
    mix-blend-mode: multiply;
    opacity: 0.5;
    z-index: -1;
    animation: spin-slow 32s linear infinite;
}

/* Sections */

section {
    padding: 3.5rem 0;
    position: relative;
}

/* Prevent sticky header from covering anchored sections */
section[id] {
    scroll-margin-top: 80px;
}

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

.eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-strong);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.section-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: var(--accent-strong);
}

.section-header p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Feature subsections */

.feature-section {
    padding: 3rem 0;
}

.feature-section-alt {
    background: linear-gradient(to right, rgba(219, 234, 254, 0.55), #f9fafb);
}

.feature-section-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: center;
}

.feature-section-heading {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: var(--accent-strong);
}

.feature-section-copy p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 0.85rem;
}

.feature-section-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.feature-section-list li + li {
    margin-top: 0.35rem;
}

.feature-section-list li::before {
    content: "•";
    margin-right: 0.45rem;
    color: var(--accent);
}

/* Shared media frame */

.feature-section-media {
    display: flex;
    justify-content: center;
}

.feature-image-frame {
    border-radius: 24px;
    width: 100%;
    max-width: 300px;
}

.screenshot-frame {
    animation: float 7s ease-in-out infinite;
}

/* Inclusivity gradient filter pills */

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-pill {
    padding: 0.5rem 0.95rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.35);
    background: #f9fafb;
    color: #111827;
}

.filter-pill .pill-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Gradients mimicking app filters */
.filter-pill.womens {
    background: linear-gradient(135deg, #fce7f3, #f9a8d4);
}

.filter-pill.pride {
    background: linear-gradient(90deg, #fef9c3, #a5f3fc, #c4b5fd, #f9a8d4);
}

.filter-pill.bipoc {
    background: linear-gradient(135deg, #f5e0c3, #c4a484);
}

/* Notifications widget image */

.feature-image-frame.square {
    max-width: 240px;
    background: transparent;
    animation: float 7s ease-in-out infinite;
}

/* Medals / Screens */

.medals-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: center;
}

.medals-copy p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.medal-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.medal {
    flex: 1;
    background: var(--bg-alt);
    border-radius: 18px;
    padding: 1rem 0.9rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
}

.medal-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--accent-strong);
}

.medal-circle {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #ffffff, rgba(0, 0, 0, 0.05));
}

.medal-circle.bronze {
    background: radial-gradient(circle at 30% 20%, #fff7ed, #b45309);
}

.medal-circle.silver {
    background: radial-gradient(circle at 30% 20%, #f9fafb, #6b7280);
}

.medal-circle.gold {
    background: radial-gradient(circle at 30% 20%, #fef3c7, #d97706);
}

.medals-copy ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.medals-copy li::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--accent);
}

.medals-screens {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* Universities */

.uni-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 820px;
    margin: 0 auto 1.5rem;
}

.uni-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

.uni-footer strong {
    color: var(--accent-strong);
}

/* University logo cards */

.uni-card-logo {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.23);
  font-size: 0.87rem;
}

/* Floating top-right badge */
.new-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #4f8df5, #2663d4);
  color: #fff;
  padding: 0.18rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(38, 99, 212, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  z-index: 5;
}

/* Logo container */
.uni-logo {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.uni-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.uni-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.schoolBU {
  border: 2px solid rgb(205, 0, 1);
  box-shadow: 0 0 12px rgba(205, 0, 1, 0.55);
}

.schoolUTM {
  border: 2px solid rgb(0, 42, 92);
  box-shadow: 0 0 12px rgba(0, 42, 92, 0.55);
}

.schoolMM {
  border: 2px solid rgb(111, 19, 60);
  box-shadow: 0 0 12px rgba(111, 19, 60, 0.55);
}

.schoolUW {
  border: 2px solid rgb(248, 216, 103);
  box-shadow: 0 0 12px rgba(248, 216, 103, 0.55);
}

.schoolQU {
  border: 2px solid rgb(170, 38, 56);
  box-shadow: 0 0 12px rgba(170, 38, 56, 0.55);
}

.schoolTMU {
  border: 2px solid rgb(254, 219, 2);
  box-shadow: 0 0 12px rgba(254, 219, 2, 0.55);
}

.schoolWU {
  border: 2px solid rgb(74, 40, 126);
  box-shadow: 0 0 12px rgba(74, 40, 126, 0.55);
}

.schoolUWN {
  border: 2px solid rgb(34, 84, 145);
  box-shadow: 0 0 12px rgba(34, 84, 145, 0.55);
}

.schoolDOT {
  border: 2px solid rgb(225, 113, 75);
  box-shadow: 0 0 12px rgba(225, 113, 75, 0.55);
}

.schoolYUK,
.schoolYUM {
  border: 2px solid rgb(208, 52, 61);
  box-shadow: 0 0 12px rgba(208, 52, 61, 0.55);
}

.schoolCU {
  border: 2px solid rgb(216, 55, 49);
  box-shadow: 0 0 12px rgba(216, 55, 49, 0.55);
}

/* CTA */

.cta {
    text-align: center;
    padding: 3.5rem 0 4.5rem;
}

.cta-card {
    border-radius: 30px;
    background:
    radial-gradient(circle at 0% 0%, #dbeafe, transparent 55%),
    radial-gradient(circle at 100% 100%, #bfdbfe, transparent 60%),
    #0f172a;
    color: white;
    padding: 2.5rem 1.8rem;
    max-width: 880px;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.65);
}

.cta-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.16), transparent 55%);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.cta-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta-card p {
    font-size: 0.98rem;
    max-width: 520px;
    margin: 0.4rem auto 1.8rem;
    color: rgba(226, 232, 240, 0.96);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-light {
    background: #f9fafb;
    color: #0f172a;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.4);
}

.btn-outline-dark {
    border-color: rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.55);
}

.btn-outline-dark:hover {
    background: rgba(15, 23, 42, 0.8);
}

footer {
    font-size: 0.8rem;
    color: var(--muted);
    padding-bottom: 2.5rem;
}

footer .container {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding-top: 1.3rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

footer span {
    max-width: 420px;
}

/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */

@media (max-width: 960px) {
    .hero-inner,
    .medals-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 3.2rem;
    }

    .feature-section-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    /* On smaller screens, show text first then image */
    .hero-copy {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .feature-section-copy {
        order: 1;
    }

    .feature-section-media {
        order: 2;
        margin-top: 1.5rem;
    }

    .uni-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    /* Top nav on mobile */

    .nav {
        gap: 0.5rem;
    }

    .nav-left {
        flex-shrink: 0;
    }

    /* Hide all nav links (Features, Medals, Universities) on mobile */
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: flex;
        align-items: center;
        margin-left: auto;
        flex-shrink: 0;
    }

    .hero-inner {
        gap: 2.4rem;
    }

    .medal-row {
        flex-direction: column;
    }

    .uni-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cta-card {
        border-radius: 24px;
    }

    footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .store-badge {
        width: 140px;
        height: 44px;
    }
}
