/* ================================
   HOPWISE LANDING PAGE - STYLES
   ================================ */

:root {
    --sunset-red: #FF6B6B;
    --sunset-orange: #FF8E53;
    --sunset-gold: #FFA500;
    --sky-blue: #87CEEB;
    --dark: #1E1E2E;
    --gray-50: #F8F9FA;
    --gray-100: #E9ECEF;
    --gray-500: #6C757D;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    background: var(--gray-50);
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-brand img {
    width: 40px;
    height: 40px;
}

.header-brand span {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BUTTONS */
.btn {
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn.primary {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53, #FFA500);
    color: var(--dark);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,107,0.35);
}

.btn.large {
    padding: 20px 44px;
    font-size: 18px;
}

/* HERO */
.hero {
    position: relative;
    padding: 200px 0 160px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, rgba(255,255,255,0.82), rgba(255,255,255,0.65)),
        url("../assets/hero/hero-bg.png") center / cover no-repeat;
}

.hero-brand {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-brand img {
    height: 140px;
    width: 140px;
    border-radius: 50%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.hero-content {
    position: relative;
    text-align: center;
    padding-top: 92px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero h1 span {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 22px;
    color: #555;
    max-width: 720px;
    margin: 0 auto 40px;
    font-weight: 600;
    line-height: 1.5;
}

.signals {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--gray-500);
    font-weight: 700;
    font-size: 15px;
}

/* DOMAINS SECTION */
.section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: 44px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-head p {
    font-size: 20px;
    color: #555;
    font-weight: 600;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.domain-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.domain-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.domain-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2), transparent);
    color: white;
}

.domain-overlay h3 {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
}

.domain-overlay p {
    margin-top: 6px;
    font-size: 15px;
    opacity: 0.9;
    font-weight: 600;
}

.domain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}

.domain-card:hover img {
    transform: scale(1.05);
}

/* WHY SECTION - DARK WITH NUMBERED POINTS */
.why-section {
    padding: 120px 0;
    background: var(--dark);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-left h2 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.why-left h2 span {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-left p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    line-height: 1.6;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.why-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-point .number {
    font-size: 14px;
    font-weight: 900;
    color: var(--sunset-orange);
    min-width: 32px;
}

.why-point .content h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.why-point .content p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    line-height: 1.5;
}

/* READY SECTION - TROPICAL SUNSET */
.ready {
    padding: 140px 0;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFA500 100%);
    position: relative;
    overflow: hidden;
}

.ready::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 40%);
    animation: shimmer 15s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5%, 5%); }
}

.ready-box {
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
    position: relative;
}

.ready-logo {
    width: 110px;
    height: 110px;
    margin: 0 auto 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 8px;
}

.ready-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.ready-box h2 {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.ready-box > p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
    font-weight: 700;
}

.ready-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}

.ready-form input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.ready-form input:focus {
    outline: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.ready-form input::placeholder {
    color: #999;
}

.ready-form button {
    padding: 18px 32px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Nunito', sans-serif;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.ready-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 40px;
    background: #151520;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .domains-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 52px; }
    .hero { padding: 180px 0 120px; }
    .hero-brand img { height: 110px; width: 110px; }
    .why-content { grid-template-columns: 1fr; gap: 48px; }
    .why-left h2 { font-size: 40px; }
    .section-head h2 { font-size: 36px; }
    .ready-box h2 { font-size: 38px; }
}

@media (max-width: 520px) {
    .domains-grid { grid-template-columns: 1fr; }
    .hero { padding: 150px 0 100px; }
    .hero h1 { font-size: 38px; }
    .hero-sub { font-size: 17px; }
    .hero-brand img { height: 90px; width: 90px; }
    .signals { flex-wrap: wrap; gap: 10px; font-size: 13px; }
    .ready-form { flex-direction: column; }
    .section-head h2 { font-size: 28px; }
    .why-left h2 { font-size: 32px; }
    .ready-box h2 { font-size: 32px; }
}
/* Heartbeat animation */
@keyframes hopwise-heartbeat {
  0%   { transform: scale(1); opacity: 0.35; }
  14%  { transform: scale(1.04); opacity: 0.45; }
  28%  { transform: scale(1); opacity: 0.50; }
  70%  { transform: scale(1); opacity: 0.50; }
  100% { transform: scale(1); opacity: 0.50; }
}

/* Apply heartbeat to Ready section logo */
.ready-logo {
  animation: hopwise-heartbeat 2.8s ease-in-out infinite;
  transform-origin: center;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .ready-logo {
    animation: none;
  }
}

@keyframes hero-drift {
  0%   { transform: scale(1) translateY(0); }
  50%  { transform: scale(1.02) translateY(-8px); }
  100% { transform: scale(1) translateY(0); }
}

.hero-bg {
  animation: hero-drift 24s ease-in-out infinite;
  will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }
}
@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 rgba(255,142,83,0); }
  50%  { box-shadow: 0 0 24px rgba(255,142,83,0.35); }
  100% { box-shadow: 0 0 0 rgba(255,142,83,0); }
}

.btn.primary {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: cta-pulse 8s ease-in-out infinite;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .btn.primary {
    animation: none;
  }
}
