/* ===========================
   BONNIE PRESTON – STYLE.CSS
   =========================== */

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

:root {
  --bg:        #0a0a0f;
  --bg2:       #111118;
  --surface:   rgba(255,255,255,0.05);
  --border:    rgba(255,255,255,0.08);
  --text:      #e8e8f0;
  --muted:     #8888a8;
  --white:     #fff;
  --accent:    #7c5ff4;
  --accent2:   #f857a6;
  --grad:      linear-gradient(135deg, #7c5ff4, #f857a6);
  --grad2:     linear-gradient(135deg, #1a1a2e, #16213e);
  --ventox:    linear-gradient(135deg, #667eea, #764ba2);
  --sflix:     linear-gradient(135deg, #f093fb, #f5576c);
  --radius:    16px;
  --radius-sm: 8px;
  --shadow:    0 8px 40px rgba(0,0,0,0.4);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dot { color: var(--accent); }
.card-glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: .6rem 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}
.nav-logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -1px;
  color: var(--white);
}
.nav-links {
  display: flex; list-style: none; gap: 2.5rem;
}
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--grad);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--white);
  transition: var(--transition); border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 8rem 2rem 4rem;
  gap: 4rem;
  max-width: 1200px; margin: 0 auto;
}
.hero-bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .25;
}
.orb1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -100px; animation: float1 8s ease-in-out infinite; }
.orb2 { width: 400px; height: 400px; background: var(--accent2); bottom: -100px; left: -100px; animation: float2 10s ease-in-out infinite; }
.orb3 { width: 300px; height: 300px; background: #43e8ff; top: 40%; left: 40%; animation: float1 12s ease-in-out infinite reverse; }

@keyframes float1 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-40px) scale(1.05); } }
@keyframes float2 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(30px) scale(.95); } }

.hero-content { flex: 1; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--border);
  padding: .4rem 1rem; border-radius: 999px; font-size: .85rem;
  color: var(--muted); margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem;
  color: var(--white);
}
.hero-subtitle {
  font-size: 1.1rem; color: var(--muted);
  max-width: 540px; margin-bottom: 2.5rem; line-height: 1.8;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: var(--transition); border: none;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 24px rgba(124,95,244,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,95,244,.5); }
.btn-ghost {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn-appstore {
  background: #000; color: #fff; border: 1px solid #333;
  margin-top: 1.5rem;
}
.btn-appstore:hover { background: #1a1a1a; transform: translateY(-2px); }

.hero-stats { display: flex; gap: 2.5rem; }
.stat { text-align: center; }
.stat-number {
  display: block; font-size: 2rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* PHONE MOCKUP */
.hero-visual { flex: 0 0 340px; display: flex; justify-content: center; align-items: center; z-index: 1; }
.phone-mockup {
  width: 240px; height: 480px;
  background: linear-gradient(160deg, #1a1a2e, #16213e);
  border-radius: 40px;
  border: 6px solid #2a2a3e;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  animation: phonePulse 4s ease-in-out infinite;
}
@keyframes phonePulse { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(-3deg); } }
.phone-mockup::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 6px; background: #2a2a3e; border-radius: 3px;
}
.phone-screen { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.app-icons { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
.app-icon {
  width: 80px; height: 80px; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; font-size: .7rem; font-weight: 600; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: var(--transition);
}
.app-icon:hover { transform: scale(1.08); }
.app-icon i { font-size: 1.6rem; }
.ventox { background: var(--ventox); }
.sflix  { background: var(--sflix); }

/* ===== SECTION COMMON ===== */
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  background: var(--surface); border: 1px solid var(--border);
  padding: .35rem .9rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--white); margin-bottom: .75rem; }
.section-desc { color: var(--muted); font-size: 1rem; }

/* ===== ABOUT ===== */
.about { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.about-card { padding: 2.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
.avatar-ring {
  width: 100px; height: 100px; border-radius: 50%;
  padding: 3px; background: var(--grad);
}
.avatar-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg2); display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: var(--white);
}
.about-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.about-role { color: var(--accent); font-size: .9rem; font-weight: 500; margin-bottom: 1rem; }
.about-details { list-style: none; display: flex; flex-direction: column; gap: .6rem; text-align: left; }
.about-details li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); }
.about-details i { color: var(--accent); width: 16px; }
.about-text { display: flex; flex-direction: column; gap: 1rem; }
.about-text p { color: var(--muted); line-height: 1.8; }
.about-text strong { color: var(--white); }

/* ===== APPS ===== */
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.app-card { overflow: hidden; transition: var(--transition); }
.app-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.app-card-header {
  padding: 2.5rem; display: flex; align-items: center; justify-content: space-between;
}
.ventox-bg { background: var(--ventox); }
.sflix-bg  { background: var(--sflix); }
.app-icon-large {
  width: 70px; height: 70px; background: rgba(255,255,255,.2);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff;
}
.app-badge {
  background: rgba(255,255,255,.2); color: #fff;
  padding: .3rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 600;
}
.app-card-body { padding: 2rem; }
.app-card-body h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.app-card-body > p { color: var(--muted); margin-bottom: 1.5rem; font-size: .95rem; line-height: 1.7; }
.app-features { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.app-features li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); }
.app-features i { color: #4ade80; font-size: .8rem; }
.app-tech { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tech-tag {
  background: var(--surface); border: 1px solid var(--border);
  padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; color: var(--accent);
}

/* ===== SKILLS ===== */
.skills { background: var(--bg2); }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.skill-category { padding: 2rem; text-align: center; transition: var(--transition); }
.skill-category:hover { transform: translateY(-4px); }
.skill-icon {
  width: 60px; height: 60px; background: var(--grad);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; margin: 0 auto 1rem;
}
.skill-category h4 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.skill-category p { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.7; }
.skill-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.skill-fill {
  height: 100%; width: 0; border-radius: 2px;
  background: var(--grad); transition: width 1.2s ease;
}

/* ===== CONTACT ===== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; }
.contact-info { padding: 2.5rem; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-list li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; }
.contact-list i { color: var(--accent); width: 20px; font-size: 1rem; }
.contact-list a { color: var(--muted); transition: var(--transition); }
.contact-list a:hover { color: var(--white); }
.contact-apps-links { display: flex; flex-direction: column; gap: .6rem; }
.text-link { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; transition: var(--transition); }
.text-link i { color: var(--accent); }
.text-link:hover { color: var(--white); }

.contact-form { padding: 2.5rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .85rem; font-weight: 500; color: var(--muted); }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .75rem 1rem;
  color: var(--white); font-family: inherit; font-size: .95rem;
  transition: var(--transition); outline: none; resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); background: rgba(124,95,244,.08); }
.form-success {
  display: none; align-items: center; gap: .6rem;
  margin-top: 1rem; padding: .75rem 1rem; border-radius: var(--radius-sm);
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3);
  color: #4ade80; font-size: .9rem;
}
.form-success.show { display: flex; }

/* ===== FOOTER ===== */
.footer { background: #07070d; border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.footer-brand { max-width: 220px; }
.footer-brand .nav-logo { display: block; font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: .75rem; }
.footer-brand p { color: var(--muted); font-size: .85rem; line-height: 1.7; }
.footer-links { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col h5 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: .25rem; }
.footer-col a { font-size: .85rem; color: var(--muted); transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .85rem; color: var(--muted); }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { width: 36px; height: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: var(--transition); }
.social-icons a:hover { color: var(--white); border-color: var(--accent); transform: translateY(-2px); }

/* ===== LEGAL PAGES ===== */
.legal-hero {
  padding: 8rem 0 4rem;
  background: var(--bg2);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: var(--white); margin-bottom: .75rem; }
.legal-hero p { color: var(--muted); }
.legal-content {
  max-width: 860px; margin: 4rem auto; padding: 0 2rem 6rem;
}
.legal-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--white); margin: 2.5rem 0 .75rem; }
.legal-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--accent); margin: 1.5rem 0 .5rem; }
.legal-content p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { color: var(--muted); padding-left: 1.5rem; margin-bottom: 1rem; line-height: 1.9; }
.legal-content li { margin-bottom: .35rem; }
.legal-content strong { color: var(--text); }
.legal-back { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-size: .9rem; margin-bottom: 2rem; }
.legal-back:hover { color: var(--white); }

/* ===== SCROLL REVEAL ===== */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .hero { flex-direction: column; padding-top: 6rem; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { text-align: center; }
  .hero-visual { flex: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0; background: rgba(10,10,15,.97); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .apps-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .footer-links { gap: 2rem; }
  .footer-top { flex-direction: column; }
}
