/*
Theme Name: GridSmash
Template: twentytwentyfive
Description: GridSmash by Pomac Studio – child theme for the ultimate grid puzzle game landing page.
Version: 1.0
Author: Pomac Studio
*/

/* ============================================================
   GRIDSMASH DESIGN SYSTEM
   ============================================================ */

:root {
    --gs-navy:      #1a1a2e;
    --gs-navy-mid:  #16213e;
    --gs-navy-light:#0f3460;
    --gs-red:       #e94560;
    --gs-red-dark:  #c73652;
    --gs-purple:    #533483;
    --gs-text-light:#e0e0e0;
    --gs-text-muted:#a8b2d8;
    --gs-white:     #ffffff;
    --gs-card-bg:   #ffffff;
    --gs-page-bg:   #f8f9ff;
    --gs-radius:    20px;
    --gs-shadow:    0 4px 24px rgba(0,0,0,0.08);
    --gs-shadow-hover: 0 20px 50px rgba(0,0,0,0.15);
    --gs-transition: 0.3s ease;
}

/* ============================================================
   GLOBAL RESETS FOR LANDING SECTIONS
   ============================================================ */

.gs-section p,
.gs-section h1,
.gs-section h2,
.gs-section h3 {
    margin: 0;
}

.gs-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.gs-hero {
    background: linear-gradient(135deg, var(--gs-navy) 0%, var(--gs-navy-mid) 45%, var(--gs-navy-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gs-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(ellipse at center, rgba(233,69,96,0.18) 0%, transparent 65%);
    pointer-events: none;
}

.gs-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(83,52,131,0.2) 0%, transparent 65%);
    pointer-events: none;
}

.gs-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.gs-hero-badge {
    display: inline-block;
    background: rgba(233,69,96,0.15);
    border: 1px solid rgba(233,69,96,0.35);
    color: #ff8099;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: inline-block;
}

.gs-logo {
    font-size: clamp(3.5rem, 11vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.25rem;
    background: linear-gradient(140deg, #ffffff 0%, #e0e0ff 40%, #e94560 75%, #533483 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gs-hero-tagline {
    font-size: clamp(1.15rem, 2.8vw, 1.6rem);
    color: var(--gs-text-light);
    font-weight: 600;
    margin-bottom: 0.9rem;
    line-height: 1.4;
}

.gs-hero-desc {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--gs-text-muted);
    line-height: 1.75;
    margin-bottom: 2.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gs-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.gs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform var(--gs-transition), box-shadow var(--gs-transition), background var(--gs-transition);
    cursor: pointer;
    border: none;
}

.gs-btn-primary {
    background: linear-gradient(135deg, var(--gs-red), var(--gs-red-dark));
    color: var(--gs-white);
    box-shadow: 0 8px 28px rgba(233,69,96,0.45);
}

.gs-btn-primary:hover,
.gs-btn-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(233,69,96,0.55);
    color: var(--gs-white);
    text-decoration: none;
}

.gs-btn-outline {
    background: transparent;
    color: var(--gs-text-muted);
    border: 2px solid rgba(168,178,216,0.45);
}

.gs-btn-outline:hover,
.gs-btn-outline:focus {
    border-color: var(--gs-text-muted);
    color: var(--gs-white);
    background: rgba(168,178,216,0.1);
    text-decoration: none;
}

.gs-hero-note {
    color: rgba(168,178,216,0.55);
    font-size: 0.88rem;
    margin-top: 0;
}

.gs-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(168,178,216,0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gs-scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(168,178,216,0.4), transparent);
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */

.gs-section {
    padding: 6rem 2rem;
}

.gs-section-light  { background: var(--gs-page-bg); }
.gs-section-dark   { background: linear-gradient(135deg, var(--gs-navy) 0%, var(--gs-navy-light) 100%); }
.gs-section-red    { background: linear-gradient(135deg, var(--gs-red) 0%, var(--gs-purple) 100%); }
.gs-section-white  { background: var(--gs-white); }

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

.gs-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 50px;
}

.gs-eyebrow-red   { background: rgba(233,69,96,0.12); color: var(--gs-red); }
.gs-eyebrow-light { background: rgba(168,178,216,0.15); color: var(--gs-text-muted); }
.gs-eyebrow-white { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.85); }

.gs-section-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.gs-title-dark  { color: var(--gs-navy); }
.gs-title-light { color: var(--gs-white); }

.gs-section-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

.gs-sub-muted { color: #6b7280; }
.gs-sub-light { color: var(--gs-text-muted); }
.gs-sub-white { color: rgba(255,255,255,0.75); }

/* ============================================================
   FEATURE CARDS
   ============================================================ */

.gs-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.gs-card {
    background: var(--gs-white);
    border-radius: var(--gs-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--gs-shadow);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform var(--gs-transition), box-shadow var(--gs-transition);
}

.gs-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--gs-shadow-hover);
}

.gs-card-icon {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1;
}

.gs-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gs-navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.gs-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

.gs-card-dark {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}

.gs-card-dark h3 { color: var(--gs-white); }
.gs-card-dark p  { color: var(--gs-text-muted); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.gs-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.gs-step { text-align: center; }

.gs-step-num {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gs-red), var(--gs-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--gs-white);
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(233,69,96,0.4);
}

.gs-step h3 { font-size: 1.2rem; font-weight: 700; color: var(--gs-white); margin-bottom: 0.65rem; }
.gs-step p  { color: var(--gs-text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */

.gs-cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.gs-cta-inner h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--gs-white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gs-cta-inner p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.gs-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.gs-btn-white {
    background: var(--gs-white);
    color: var(--gs-red);
    font-size: 1.1rem;
    padding: 1.1rem 2.5rem;
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.gs-btn-white:hover,
.gs-btn-white:focus {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.3);
    color: var(--gs-red-dark);
    text-decoration: none;
}

.gs-btn-ghost {
    background: rgba(255,255,255,0.12);
    color: var(--gs-white);
    border: 2px solid rgba(255,255,255,0.3);
    font-size: 1.1rem;
    padding: 1.05rem 2.3rem;
}

.gs-btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    color: var(--gs-white);
    text-decoration: none;
}

.gs-cta-note { color: rgba(255,255,255,0.5); font-size: 0.87rem; margin-bottom: 2rem; }

.gs-badges { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.gs-badge {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   INNER PAGE STYLES
   ============================================================ */

.gs-page-hero {
    background: linear-gradient(135deg, var(--gs-navy) 0%, var(--gs-navy-light) 100%);
    padding: 7rem 2rem 5rem;
    text-align: center;
}

.gs-page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gs-white);
    margin-bottom: 1rem;
}

.gs-page-hero p {
    font-size: 1.15rem;
    color: var(--gs-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.gs-prose {
    max-width: 760px;
    margin: 0 auto;
    color: #374151;
    line-height: 1.8;
    font-size: 1.05rem;
}

.gs-prose h2 { font-size: 1.7rem; font-weight: 700; color: var(--gs-navy); margin: 3rem 0 1rem; }
.gs-prose h3 { font-size: 1.25rem; font-weight: 700; color: var(--gs-navy); margin: 2rem 0 0.75rem; }
.gs-prose p  { margin-bottom: 1.25rem; }
.gs-prose ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.gs-prose li { margin-bottom: 0.5rem; }

.gs-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.gs-value-box {
    background: var(--gs-page-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.gs-value-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gs-red), var(--gs-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.gs-value-label { font-size: 0.9rem; color: #6b7280; font-weight: 600; }

.gs-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.gs-feature-visual {
    border-radius: var(--gs-radius);
    background: linear-gradient(135deg, var(--gs-navy), var(--gs-purple));
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.gs-feature-text h3 { font-size: 1.6rem; font-weight: 800; color: var(--gs-navy); margin-bottom: 1rem; }
.gs-feature-text p  { color: #6b7280; line-height: 1.8; margin-bottom: 1.25rem; }

.gs-feature-list { list-style: none; padding: 0; margin: 0; }

.gs-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #374151;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.gs-feature-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--gs-red), var(--gs-purple));
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

.gs-faq-list  { max-width: 760px; margin: 0 auto; }
.gs-faq-item  { border-bottom: 1px solid rgba(0,0,0,0.07); padding: 2rem 0; }
.gs-faq-item:first-child { padding-top: 0; }
.gs-faq-q { font-size: 1.1rem; font-weight: 700; color: var(--gs-navy); margin-bottom: 0.75rem; }
.gs-faq-a { color: #6b7280; line-height: 1.75; font-size: 0.97rem; }

.gs-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.gs-contact-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--gs-navy); margin-bottom: 1rem; }
.gs-contact-info p  { color: #6b7280; line-height: 1.75; margin-bottom: 1.5rem; }

.gs-contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; color: #374151; }

.gs-contact-item-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(233,69,96,0.1), rgba(83,52,131,0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

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

@media (max-width: 768px) {
    .gs-section { padding: 4rem 1.5rem; }
    .gs-hero    { padding: 4rem 1.5rem 5rem; }
    .gs-hero-buttons, .gs-cta-buttons { flex-direction: column; align-items: center; }
    .gs-feature-row   { grid-template-columns: 1fr; gap: 2rem; }
    .gs-contact-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
    .gs-features-grid { grid-template-columns: 1fr; }
    .gs-steps         { grid-template-columns: 1fr; gap: 2rem; }
    .gs-values        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .gs-values { grid-template-columns: 1fr; }
}
