/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2629dc;
    --primary-dark: #140acc;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #14b8a6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}
section {
  position: relative;
  z-index: 1;
}
body {
    font-family: "Satoshi", -apple-system, sans-serif;
    line-height: 1.6;
    background: #0b0b12;
    color: white;
    position: relative;
    background-color: var(--bg-primary);
    overflow-x: hidden;
    overflow-y: auto;
    letter-spacing: 0px;
}
/* Wrapper */
.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* Smooth gradient base */
.bg-gradient {
  position: absolute;
  width: 100%;
  height: 100%;

  background:
    radial-gradient(circle at 10% 20%, rgba(255,122,122,0.25), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(122,162,255,0.25), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,200,120,0.15), transparent 50%),
    linear-gradient(135deg, #0f0f1a, #141427);
}

.bg-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size: 60px 60px;
}
/* Floating glow blobs */
.bg-glow::before {
  background: #ff7a7a;
  top: 10%;
  left: 15%;
}

.bg-glow::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.bg-glow::after {
  background: #7aa2ff;
  bottom: 10%;
  right: 15%;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255, 255, 255);

  border-bottom: 1px solid rgba(147, 147, 147, 0.05); 
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
}

.nav-links a {
  margin: 0 14px;
  color: #555;
  transition: 1.3s;
}

.nav-links a:hover {
  color: #000;
}


/* ByteChat in navbar */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
}

/* Get Access button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  padding: 7px 17px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
}

.nav-cta a {
    color: var(--text-secondary);
    text-decoration: none !important;
    font-weight: 500;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 25px rgba(99,102,241,0.3);
    text-decoration: none !important;
}


/* Features ---- About Us ---- Contact Us */
.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    /* gray type color */
    color: var(--text-secondary);  
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

    /* Hero/heading Section */
    .hero {
        padding: 7rem 0 7rem;
        background: linear-gradient(
        135deg,
        #f8fafc 0%,
        #eef2ff 40%,
        #fdf2f8 100%
    );
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
        opacity: 0.1;
        animation: float 6s ease-in-out infinite;
    }
    .hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);

    background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
    filter: blur(80px);
    z-index: 0;
    }
    .hero-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        display: flex;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        position: relative;
        justify-content: center;
        text-align: center;
        z-index: 1;
    }

    /* COMING SOON {PINK BG, WHITE TEXT */
    .coming-soon-badge {
        display: inline-block;
        background: var(--secondary-color);
        color: white;
        padding: 0.25rem 1rem;
        border-radius: var(--radius-xl);
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        animation: pulse 2s ease-in-out infinite;
    }

    .hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    color: #111;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;   /* THIS makes it thin */
    opacity: 0;
    transform: translateY(20px);
    animation: heroFade 0.8s ease-out forwards;
    }

    .title-line-2{
          display: block;
  margin-top: 0.6rem; /* adjust this (0.5–1rem sweet spot) */
    }

    /* built for students highlight transition */
    .hero-title .highlight {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }
    @keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }

    .highlight {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        color: var(--text-secondary);
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }

    .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    }

.email-form {
  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);

  border-radius: 999px;
  padding: 7px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.email-form input {
  border: none;
  outline: none;

  padding: 16px 18px;
  width: 400px;

  border-radius: 999px;
  font-size: 18px;

  background: transparent;
  color: #111;
}

.email-form input::placeholder {
  color: #888;
}

.email-form button {
  border: none;
  border-radius: 999px;

  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;

  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: white;

  cursor: pointer;
  transition: all 0.25s ease;
}

.email-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.email-form button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(99,102,241,0.3);
}

.form-note {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Features Section */
.features {
    padding: 7rem 0;
    background: var(--bg-secondary);
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
  background: rgba(255,255,255,0.06); /* slightly brighter */
  border: 1px solid rgba(0,0,0,0.25); /* darker border for definition */
  padding: 28px;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset 0 0 0 1px rgba(148, 148, 148, 0.05),
    0 10px 40px rgba(56, 56, 56, 0.4);
}

/* subtle glow effect */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,122,122,0.18), transparent 80%);
  opacity: 0;
  transition: 0.4s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* ICON */
.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  color: #ff7a7a; /* highlight color */
}

/* TITLE */
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827; /* strong black */
  margin-bottom: 10px;
}

/* DESCRIPTION */
.feature-card p {
  color: #4b5563; /* readable gray */
  font-size: 14px;
  line-height: 1.6;
}

/* meet our team */
.team {
  padding: 6rem 2rem;
    background: linear-gradient(
    135deg,
    #f8fafc 0%,
    #eef2ff 40%,
    #fdf2f8 100%
  );
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 70%);
  filter: blur(90px);
  z-index: 0;
}

.team::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18), transparent 70%);
  filter: blur(90px);
  z-index: 0;
}

/* meet the team  */
/* Container */
.team-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.team-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-section-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.team-section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;  
    margin: 0 auto;
}
/* Rows */
.row {
  display: flex;
  gap: 2rem;
}

/* Bottom row centered */
.row.bottom {
  justify-content: center;
}

/* CARD STYLE (same vibe as feature cards) */
.team-card {
  width: 400px;
  padding: 1.6rem;
  border-radius: 20px;

  background: rgba(255,255,255,0.06);
  border: 1px solid #e5e7eb;

  transition: all 0.35s ease;
  overflow: hidden;

  box-shadow: 
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 10px 40px rgba(0,0,0,0.4);
}

/* Hover */
.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}


/* HEADER */
.team-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.team-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.team-header p {
  font-size: 0.85rem;
  color: #6b7280;
}

/* AVATAR */
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  color: white;
}

/* pastel colors like feature cards */
.avatar.purple { background: #a78bfa; }
.avatar.orange { background: #f59e0b; }
.avatar.green { background: #34d399; }
.avatar.pink { background: #f472b6; }
.avatar.blue { background: #60a5fa; }

/* DESCRIPTION */
.team-desc {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* TAGS */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tags span {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;

  background: #f3f4f6;
  color: #374151;
}

/* EMAIL */
.email {
  padding: 0.55rem;
  border-radius: 10px;
  text-align: center;
  font-size: 0.8rem;

  background: #f9fafb;
  border: 2px solid rgba(168, 85, 247, 0.18);
  color: #374151;
}

span a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
}

span a:hover {
  opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

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

.contact-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center; 
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.contact-icon {
    font-size: 2rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer .container {
  max-width: 1400px;   /* increase width */
  padding: 0 3rem;     /* more left-right spacing */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    max-width: 520px;
    width: 90%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
    animation: modalPop 0.3s ease;

}

.modal-header {
    position: relative;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
}

.modal-close {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
}
.modal-close:hover {
    color: var(--text-secondary);
}

.modal-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
}
/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }   
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 4.5rem;
        font-weight: 800;  
        line-height: 1.1;
        letter-spacing: -5.5px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        color: #666;
        margin-top: 20px;
        line-height: 1.7;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .contact-content h2 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ================= MOBILE FIRST OPTIMIZATION ================= */

/* Base mobile improvements */
body {
  -webkit-font-smoothing: antialiased;
}

/* ================= TABLET & MOBILE ================= */
@media (max-width: 768px) {

  * {
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
  }

  /* ---------- NAVBAR ---------- */
  .nav-container {
    padding: 10px 16px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* ---------- HERO ---------- */
  .hero {
    padding: 5rem 1rem 3.5rem;
  }

  .hero-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .coming-soon-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  /* ---------- EMAIL FORM ---------- */
  .email-form {
    flex-direction: column;
    width: 90%;
    margin: 20px auto 0;
    padding: 8px;
    border-radius: 20px;
  }

  .email-form input {
    width: 100%;
    font-size: 14px;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .email-form button {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border-radius: 20px;
  }

  /* ---------- FEATURES ---------- */
  .features {
    padding: 4rem 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .section-header p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* ---------- TEAM ---------- */
  .team {
    padding: 4rem 1rem;
  }

  .team-section-header h1 {
    font-size: 2rem;
  }

  .team-section-header p {
    font-size: 0.95rem;
  }

  .row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .team-card {
    width: 100%;
    max-width: 340px;
  }

  /* ---------- CONTACT ---------- */
  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }

  /* ---------- FOOTER ---------- */
  .footer {
    padding: 3rem 0 1rem;
  }

  .footer .container {
    padding: 0 1.5rem;
  }

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

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

  /* ---------- MODAL ---------- */
  .modal-content {
    width: 90%;
    padding: 1.5rem;
  }
}


/* ================= SMALL PHONES ================= */
@media (max-width: 480px) {

  .hero-title {
    font-size: 1.8rem;
  }

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

  .section-header h2 {
    font-size: 1.6rem;
  }

  .email-form {
    gap: 8px;
  }

  .team-card {
    max-width: 100%;
  }
}
