/* -------------------------------------------------------
   GLOBAL THEME — Steel Purple / Steel Blue / Steel Grey
-------------------------------------------------------- */

:root {
    --accent: #5b5f97;        /* steel purple */
    --accent-light: #8e94f2;  /* lighter steel/periwinkle */
    --blue-steel: #4a6fa5;    /* steel blue */
    --grey-steel: #6b7280;    /* steel grey */

    --text: #1a1a1a;
    --subtext: #4d4d4d;
    --bg: #ffffff;
    --bg-alt: #f7f8fa;

    --radius: 12px;
    --shadow: 0 4px 12px rgba(0,0,0,0.06);
    --max-width: 1080px;
}


/* -------------------------------------------------------
   BASE
-------------------------------------------------------- */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--text);
    margin: 0 0 0.4em;
    line-height: 1.25;
}

p, li {
    color: var(--subtext);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}


.bold {
    font-weight: bold;
  }


/* -------------------------------------------------------
   NAVBAR
-------------------------------------------------------- */

.navbar {
    background: #ffffffcc;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
}

.brand{
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
}

header a {
    /* font-weight: 600;
    font-size: 1.1rem; */
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}


nav a {
    margin-left: 1.2rem;
    text-decoration: none;
    color: var(--subtext);
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--accent);
}

.nav-cta {
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius);
    background: var(--accent);
    color: white !important;
}


/* -------------------------------------------------------
   HERO
-------------------------------------------------------- */

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

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    max-width: 480px;
}

.button-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.button-primary:hover {
    background: var(--accent-light);
}

.cta-note {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--subtext);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 260px;
    height: 520px;
    border-radius: 30px;
    background: var(--bg);
    border: 2px solid #e5e7eb;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen {
    width: 85%;
    height: 85%;
    background: #dcdfe4;
    border-radius: 20px;
}


/* -------------------------------------------------------
   SECTIONS
-------------------------------------------------------- */

.section {
    padding: 3.5rem 0;
}

.block {
    scroll-margin-top: 90px; /* height of your navbar */
      
}

.alt {
    background: var(--bg-alt);
}

.section-inner {
    text-align: center;
}

.section-inner h2 {
    font-size: 1.9rem;
}

.section-desc {
    margin: 0.4rem auto 2rem;
    max-width: 520px;
}

.block a:link {
    color: rgb(148, 148, 249) ;
}

.block a:visited {
    color: rgb(41, 41, 152) ;
}

.block a:hover {
    color: rgb(106, 106, 151) ;
}

.block a:active {
    color: rgb(83, 83, 155) ;
}


/* 
a:link { }
a:visited { }
a:hover { }
a:active { } */



/* -------------------------------------------------------
   CARDS + GRID
-------------------------------------------------------- */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    margin-top: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
    margin-top: 2rem;
}

.small-card {
    background: white;
    padding: 0.3rem;
    border-radius: var(--radius);
    border: 1px solid #e5e7eb;
    text-align: center;
    box-shadow: var(--shadow);
}
/* 
#screenshots .small-card:nth-child(1) {
    background: #ff7c8d;
}

#screenshots .small-card:nth-child(2) {
    background: #feef7a;
} */

.card {
    background: white;
    padding: 1.4rem;
    border-radius: var(--radius);
    border: 1px solid #e5e7eb;
    text-align: left;
    box-shadow: var(--shadow);
}

/* Apply colour variants automatically to cards */
#features .card:nth-child(1) {
    background: #E4F0FB;
    /* border-color: #d9eaff; */
}

#features .card:nth-child(2) {
    background: #FCECEC;
    /* border-color: #ebe4ff; */
}

#features .card:nth-child(3) {
    background: #FFF8D8;
    /* border-color: #e5e7eb; */
}

#features .card h3{
    color: black
}

.alt-card {
    background: var(--bg);
}

.card h3 {
    margin-bottom: 0.6rem;
    color: var(--accent);
}

.card ul {
    padding-left: 1.2rem;
}

.card li {
    margin-bottom: 0.4rem;
}


/* -------------------------------------------------------
   CTA
-------------------------------------------------------- */

.cta {
    padding: 4rem 0;
    text-align: center;
    background: white;
}

.cta-inner h2 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}


/* -------------------------------------------------------
   FOOTER
-------------------------------------------------------- */

.footer {
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 3rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 1rem;
    text-decoration: none;
    color: var(--subtext);
}

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


/* -------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------- */

@media (max-width: 800px) {

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .grid-3, .grid-2, .grid-4 {
        grid-template-columns: 1fr;
    }

    nav a {
        margin-left: 0.7rem;
    }
}
