@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --navy: #0a1534;
  --navy-soft: #142348;
  --blue: #4169ff;
  --blue-light: #eaf0ff;
  --pink: #f16bb8;
  --pink-light: #fff0f8;
  --ink: #17213e;
  --muted: #69738c;
  --white: #ffffff;
  --line: #e8ebf4;
  --bg: #fbfcff;
  --shadow: 0 24px 70px rgba(28, 47, 104, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: 'DM Sans', sans-serif; color: var(--ink); background: var(--white); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(232,235,244,.8); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: 1.6px; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: white; background: linear-gradient(135deg, var(--blue), var(--pink)); font-size: 17px; letter-spacing: 0; box-shadow: 0 7px 18px rgba(65,105,255,.22); }
.logo-dot { color: var(--pink); }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; color: #4d5873; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--blue); }
.nav-links .nav-cta { color: var(--blue); border: 1px solid #dce4ff; padding: 10px 16px; border-radius: 9px; }
.nav-cta span { margin-left: 8px; }

.section { padding: 110px 0; }
.hero { min-height: 690px; padding: 85px 0 28px; overflow: hidden; background: radial-gradient(ellipse at 84% 25%, rgba(241,107,184,.10), transparent 31%), radial-gradient(ellipse at 58% 70%, rgba(65,105,255,.08), transparent 35%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 30px; min-height: 520px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 11px; letter-spacing: 2px; font-weight: 700; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(241,107,184,.13); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; }
h1 { max-width: 650px; margin-bottom: 24px; color: var(--navy); font-size: clamp(43px, 5.2vw, 67px); line-height: 1.08; letter-spacing: -2.9px; }
.gradient-text { color: var(--blue); background: linear-gradient(100deg, #4169ff 6%, #8870fa 48%, #f16bb8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 540px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-description strong { color: var(--ink); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: linear-gradient(110deg, var(--blue), #7469f9); box-shadow: 0 10px 24px rgba(65,105,255,.22); }
.button-primary:hover { box-shadow: 0 14px 30px rgba(65,105,255,.30); }
.button-secondary { color: var(--navy); border: 1px solid #dfe4f0; background: white; }
.hero-meta { display: flex; gap: 44px; margin-top: 47px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong { font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--navy); }
.hero-meta span { color: #8a93a8; font-size: 11px; }
.hero-visual { position: relative; min-height: 480px; display: grid; place-items: center; isolation: isolate; }
.visual-glow { position: absolute; width: 330px; height: 330px; border-radius: 50%; background: linear-gradient(135deg, rgba(65,105,255,.12), rgba(241,107,184,.13)); filter: blur(5px); }
.orbit { position: absolute; border: 1px solid rgba(65,105,255,.17); border-radius: 50%; transform: rotate(-27deg); }
.orbit-one { width: 410px; height: 250px; }
.orbit-two { width: 340px; height: 430px; transform: rotate(44deg); border-color: rgba(241,107,184,.22); }
.orbit-three { width: 440px; height: 360px; transform: rotate(10deg); border-style: dashed; border-color: rgba(65,105,255,.18); }
.shield { z-index: 2; display: grid; place-items: center; width: 190px; height: 210px; background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(235,240,255,.75)); clip-path: polygon(50% 0, 95% 14%, 91% 61%, 76% 82%, 50% 100%, 24% 82%, 9% 61%, 5% 14%); filter: drop-shadow(0 20px 28px rgba(65,105,255,.17)); }
.shield-inner { width: 145px; height: 165px; display: grid; place-items: center; color: var(--blue); background: linear-gradient(145deg, #fff, #edf1ff); clip-path: polygon(50% 0, 95% 14%, 91% 61%, 76% 82%, 50% 100%, 24% 82%, 9% 61%, 5% 14%); }
.shield svg { width: 80px; height: 90px; }
.network-line { position: absolute; z-index: 1; height: 1px; background: linear-gradient(90deg, transparent, #9caeff, #f3a1d2, transparent); transform-origin: center; }
.line-one { width: 360px; transform: rotate(31deg); }
.line-two { width: 320px; transform: rotate(-37deg); }
.line-three { width: 250px; transform: rotate(90deg); }
.node { position: absolute; z-index: 3; width: 11px; height: 11px; border: 3px solid white; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px rgba(241,107,184,.13); }
.node-one { top: 94px; left: 23%; }.node-two { top: 145px; right: 12%; background: var(--blue); box-shadow: 0 0 0 5px rgba(65,105,255,.13); }.node-three { bottom: 94px; left: 20%; background: var(--blue); }.node-four { bottom: 111px; right: 22%; }
.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid rgba(228,232,246,.9); border-radius: 13px; background: rgba(255,255,255,.91); box-shadow: 0 14px 36px rgba(32,49,100,.10); }
.card-top { top: 75px; right: 0; }.card-bottom { bottom: 66px; left: 0; }
.float-card strong, .float-card small { display: block; }.float-card strong { font-size: 11px; color: var(--navy); }.float-card small { color: #8a93a8; font-size: 9px; }
.mini-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; font-size: 19px; }.blue-icon { color: var(--blue); background: var(--blue-light); }.pink-icon { color: #df4d9f; background: var(--pink-light); }
.visual-label { position: absolute; bottom: 12px; color: #9aa3b8; font-size: 9px; letter-spacing: 1.7px; }.label-left { left: 20px; }.label-right { right: 20px; }
.hero-bottom { display: flex; justify-content: space-between; color: #9aa3b8; font-size: 9px; letter-spacing: 1.7px; }
.scroll-note span { margin-left: 9px; color: var(--pink); font-size: 14px; }

.about-section { background: var(--bg); border-top: 1px solid #f0f2f8; border-bottom: 1px solid #f0f2f8; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
h2 { margin-bottom: 0; color: var(--navy); font-size: clamp(31px, 3.6vw, 43px); line-height: 1.2; letter-spacing: -1.7px; }
.about-content p { color: var(--muted); font-size: 14px; line-height: 1.95; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.about-tags span, .skill-pills span { padding: 6px 10px; border: 1px solid #e3e8f7; border-radius: 7px; color: #586580; background: white; font-size: 10px; font-weight: 600; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.section-intro { max-width: 330px; margin-bottom: 3px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.skill-card { min-height: 265px; padding: 25px 21px; border: 1px solid var(--line); border-radius: 16px; background: white; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.skill-card:hover, .project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d8dfff; }
.skill-card.featured-card { background: linear-gradient(150deg, #fff, #fff7fc); border-color: #f8d9eb; }
.skill-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-size: 24px; margin-bottom: 20px; }
.skill-card h3 { margin-bottom: 9px; color: var(--navy); font-size: 16px; letter-spacing: -.4px; }
.skill-card p { min-height: 77px; margin-bottom: 18px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.skill-pills { display: flex; flex-wrap: wrap; gap: 6px; }.skill-pills span { padding: 4px 7px; font-size: 9px; }
.skills-note { margin: 24px 0 0; color: #7d879f; font-size: 11px; }.skills-note span { color: var(--pink); margin-right: 7px; }

.projects-section { background: var(--bg); border-top: 1px solid #f0f2f8; border-bottom: 1px solid #f0f2f8; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.project-art { position: relative; display: grid; place-items: center; height: 205px; overflow: hidden; }
.art-network { background: linear-gradient(135deg, #e9efff, #f5eafa); }.art-server { background: linear-gradient(135deg, #e9edff, #fceafa); }.art-security { background: linear-gradient(135deg, #e6f0ff, #ffedf7); }
.art-tag { position: absolute; left: 17px; bottom: 15px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.8); border-radius: 5px; color: #4e5b7c; background: rgba(255,255,255,.65); font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }
.screen-window { width: 72%; height: 120px; overflow: hidden; border: 1px solid rgba(91,112,183,.25); border-radius: 10px; background: rgba(255,255,255,.85); box-shadow: 0 15px 30px rgba(59,78,144,.12); transform: rotate(-3deg); }
.screen-top { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid #e6eaff; }.screen-top i { width: 5px; height: 5px; border-radius: 50%; background: #a7b8ff; }
.topology { position: relative; height: 88px; }.device { position: absolute; z-index: 2; display: grid; place-items: center; width: 32px; height: 24px; border: 1px solid #b8c7ff; border-radius: 5px; color: #4c65d8; background: #f2f5ff; font-size: 8px; font-weight: 700; }.router { top: 10px; left: calc(50% - 16px); }.switch { top: 45px; left: calc(50% - 16px); }.pc { top: 62px; left: 23%; width: 26px; height: 18px; color: #d34b9a; border-color: #f3b4d8; background: #fff3fa; }.pc-two { left: auto; right: 23%; }.link { position: absolute; display: block; width: 1px; background: #9baeff; transform-origin: top; }.link-a { top: 33px; left: 50%; height: 12px; }.link-b { top: 55px; left: 40%; width: 45px; height: 1px; transform: rotate(35deg); }.link-c { top: 55px; right: 40%; width: 45px; height: 1px; transform: rotate(-35deg); }
.server-stack { position: relative; z-index: 2; display: grid; gap: 7px; transform: perspective(300px) rotateY(-13deg) rotateX(5deg); }.server-unit { display: flex; align-items: center; gap: 9px; width: 128px; height: 30px; padding: 0 11px; border: 1px solid #bdc9f6; border-radius: 7px; background: linear-gradient(90deg, #fff, #edf1ff); box-shadow: 0 7px 13px rgba(75,91,163,.10); }.server-unit span { width: 8px; height: 8px; border-radius: 3px; background: var(--pink); }.server-unit i { width: 28px; height: 3px; border-radius: 3px; background: #c6d1fa; }.server-orbit { position: absolute; width: 180px; height: 120px; border: 1px solid rgba(241,107,184,.35); border-radius: 50%; transform: rotate(-27deg); }
.security-ring { display: grid; place-items: center; width: 118px; height: 118px; border: 1px solid rgba(65,105,255,.3); border-radius: 50%; box-shadow: 0 0 0 15px rgba(255,255,255,.25), 0 0 0 30px rgba(65,105,255,.06); }.security-lock { display: grid; place-items: center; width: 65px; height: 75px; border: 2px solid var(--blue); border-radius: 15px 15px 23px 23px; color: var(--blue); background: rgba(255,255,255,.6); font-size: 37px; }.security-spark { position: absolute; color: var(--pink); font-size: 23px; }.spark-one { top: 40px; right: 27%; }.spark-two { bottom: 44px; left: 27%; color: var(--blue); }
.project-body { padding: 23px 22px 19px; }.project-type { margin-bottom: 9px; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }.project-body h3 { margin-bottom: 10px; color: var(--navy); font-size: 18px; line-height: 1.35; letter-spacing: -.5px; }.project-body p { min-height: 80px; margin-bottom: 18px; color: var(--muted); font-size: 11px; line-height: 1.85; }.project-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); color: #8a93a8; font-size: 10px; }.project-arrow { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: var(--blue); background: var(--blue-light); font-size: 15px; }
.project-disclaimer { margin: 22px 0 0; color: #8a93a8; font-size: 10px; line-height: 1.7; }

.values-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }.values-list { border-top: 1px solid var(--line); }.value-row { display: grid; grid-template-columns: 42px 1fr 20px; align-items: start; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }.value-number { padding-top: 3px; color: var(--pink); font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; }.value-row h3 { margin-bottom: 4px; color: var(--navy); font-size: 16px; }.value-row p { margin-bottom: 0; color: var(--muted); font-size: 12px; }.value-symbol { color: var(--blue); font-size: 18px; }
.contact-section { padding-top: 35px; }.contact-panel { position: relative; overflow: hidden; padding: 75px 30px; border: 1px solid #e7eaff; border-radius: 25px; text-align: center; background: radial-gradient(ellipse at 12% 80%, rgba(65,105,255,.10), transparent 32%), radial-gradient(ellipse at 90% 10%, rgba(241,107,184,.13), transparent 32%), #fcfdff; }.contact-panel .eyebrow, .contact-panel h2, .contact-text, .contact-actions, .contact-email { position: relative; z-index: 2; }.contact-panel h2 { font-size: clamp(34px, 4.4vw, 50px); }.contact-text { max-width: 480px; margin: 20px auto 0; color: var(--muted); font-size: 13px; }.contact-actions { justify-content: center; margin-top: 27px; }.contact-email { margin-top: 24px; color: #8a93a8; font-size: 11px; }.contact-decoration { position: absolute; width: 150px; height: 150px; border: 1px solid rgba(65,105,255,.16); border-radius: 50%; }.decoration-one { top: -80px; left: -60px; box-shadow: 0 0 0 18px rgba(65,105,255,.03), 0 0 0 38px rgba(65,105,255,.02); }.decoration-two { right: -75px; bottom: -80px; border-color: rgba(241,107,184,.2); box-shadow: 0 0 0 18px rgba(241,107,184,.03), 0 0 0 38px rgba(241,107,184,.02); }
.footer { padding: 25px 0 18px; border-top: 1px solid var(--line); }.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.footer-inner p { margin: 0; color: #8a93a8; font-size: 10px; }.back-top { color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: 1px; }.copyright { margin-top: 22px; padding-top: 15px; border-top: 1px solid #f0f2f8; color: #a0a8b9; font-size: 9px; }

@media (max-width: 950px) {
  .section { padding: 85px 0; }
  .hero { padding-top: 55px; }
  .hero-grid { grid-template-columns: 1fr 0.85fr; gap: 10px; }
  .hero-visual { transform: scale(.85); margin: -25px -30px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-card { min-height: 240px; }
  .two-column, .values-wrap { gap: 45px; }
  .projects-grid { gap: 14px; }
  .project-body { padding: 20px 17px 16px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 34px, 540px); }
  .nav { min-height: 68px; }
  .nav-links { gap: 15px; font-size: 11px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links .nav-cta { padding: 8px 11px; }
  .section { padding: 70px 0; }
  .hero { padding: 55px 0 25px; }
  .hero-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(42px, 12vw, 60px); letter-spacing: -2.4px; }
  .hero-description { font-size: 14px; }
  .hero-meta { gap: 25px; margin-top: 35px; }
  .hero-visual { min-height: 390px; margin: 0 -25px; transform: scale(.88); }
  .orbit-one { width: 350px; }.orbit-two { height: 370px; }.orbit-three { width: 370px; height: 320px; }
  .card-top { right: 2%; top: 45px; }.card-bottom { left: 2%; bottom: 43px; }
  .hero-bottom { gap: 20px; font-size: 8px; }
  .two-column, .values-wrap { grid-template-columns: 1fr; gap: 25px; }
  h2 { font-size: 34px; }
  .section-heading { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 28px; }
  .section-intro { max-width: 460px; }
  .skills-grid { gap: 12px; }
  .skill-card { padding: 20px 15px; min-height: 260px; }
  .skill-card p { min-height: 100px; }
  .projects-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-art { height: 215px; }
  .project-body p { min-height: auto; }
  .values-wrap { gap: 30px; }
  .contact-panel { padding: 60px 18px; border-radius: 18px; }
  .contact-panel h2 { font-size: 34px; }
  .contact-email { overflow-wrap: anywhere; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}
@media (max-width: 390px) {
  .hero-actions .button { width: 100%; }
  .hero-meta { gap: 18px; }
  .hero-visual { transform: scale(.78); margin: -20px -45px; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 0; }
  .skill-card p { min-height: 0; }
  .contact-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Personal portrait added for Sreyla's portfolio */
.portrait-frame {
  position: relative;
  z-index: 2;
  width: min(290px, 70%);
  aspect-ratio: 4 / 5;
  padding: 8px;
  border-radius: 150px 150px 35px 35px;
  background: linear-gradient(145deg, #4169ff 0%, #a28aff 48%, #f16bb8 100%);
  box-shadow: 0 24px 60px rgba(65, 105, 255, .22);
  transform: rotate(2deg);
}
.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border: 4px solid rgba(255,255,255,.92);
  border-radius: 145px 145px 28px 28px;
}
.portrait-ring {
  position: absolute;
  z-index: -1;
  inset: -19px;
  border: 1px solid rgba(65,105,255,.25);
  border-radius: 170px 170px 48px 48px;
  transform: rotate(-7deg);
}
.portrait-badge {
  position: absolute;
  right: -28px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid #e5e9f7;
  border-radius: 10px;
  color: #17213e;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(32,49,100,.12);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.portrait-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f16bb8;
  box-shadow: 0 0 0 4px rgba(241,107,184,.13);
}
@media (max-width: 700px) {
  .portrait-frame { width: 255px; }
  .portrait-badge { right: -16px; }
}
