*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --bg: #f5f1f1;
      --surface: #fffaf2;
      --card: rgba(255,255,255,0.84);
      --accent: #4e17ce;
      --accent2: #1780c9;
      --text: #18222d;
      --muted: #5f6f7e;
      --border: rgba(24,34,45,0.1);
      --glow: 0 18px 40px rgba(119, 26, 206, 0.14);
      --shadow-lg: 0 24px 60px rgba(95, 81, 58, 0.12);
      --shadow-md: 0 14px 32px rgba(95, 81, 58, 0.08);
      --nav-h: 68px;
    }

    html { scroll-behavior: smooth; }

    body {
      background:
        radial-gradient(circle at top left, rgba(23,128,201,0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(196,109,45,0.12), transparent 24%),
        linear-gradient(180deg, #fcf7ef 0%, var(--bg) 100%);
      color: var(--text);
      font-family: 'Elms Sans', sans-serif;
      overflow-x: hidden;
    }

    @media (pointer: fine) { body { cursor: none; } }

    /* Cursor */
    #cursor, #cursor-ring { display: none; pointer-events: none; position: fixed; top: 0; left: 0; z-index: 9999; }
    @media (pointer: fine) {
      #cursor { display: block; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(119, 26, 206, 0.12); }
      #cursor-ring { display: block; width: 36px; height: 36px; border: 1.5px solid rgba(119, 26, 206, 0.45); border-radius: 50%; z-index: 9998; opacity: 0.75; }
    }

    /* Noise */
    body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"); opacity: 0.02; pointer-events: none; z-index: 1; }

    /* ===== NAV ===== */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 60px; height: var(--nav-h);
      background: rgba(252,247,239,0.78); backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border); transition: background 0.3s;
    }
    .logo { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.5px; z-index: 201; text-decoration: none; color: var(--text); }
    .logo span { color: var(--accent); }
    .nav-links { display: flex; gap: 36px; list-style: none; }
    .nav-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; position: relative; }
    .nav-links a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px; background: var(--accent); transition: width 0.3s; }
    .nav-links a:hover { color: var(--text); }
    .nav-links a:hover::after { width: 100%; }
    .nav-cta { background: var(--accent); color: #f7fffb; padding: 9px 22px; border-radius: 50px; font-size: 0.82rem; font-weight: 700; text-decoration: none; letter-spacing: 0.05em; text-transform: uppercase; transition: box-shadow 0.3s, transform 0.2s; }
    .nav-cta:hover { box-shadow: var(--glow); transform: translateY(-1px); }

    /* Hamburger */
    .hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: rgba(255,255,255,0.7); border: 1px solid var(--border); border-radius: 10px; cursor: pointer; z-index: 201; transition: border-color 0.2s, background 0.2s; flex-shrink: 0; box-shadow: var(--shadow-md); }
    .hamburger:hover { border-color: var(--accent); }
    .hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s cubic-bezier(.77,0,.175,1), opacity 0.3s, width 0.3s; transform-origin: center; }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Mobile Drawer */
    .mobile-nav { display: none; position: fixed; inset: 0; background: rgba(252,247,239,0.96); backdrop-filter: blur(30px); z-index: 199; flex-direction: column; align-items: center; justify-content: center; gap: 32px; opacity: 0; pointer-events: none; transition: opacity 0.35s; }
    .mobile-nav.open { opacity: 1; pointer-events: all; }
    .mobile-nav a { font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--muted); text-decoration: none; letter-spacing: -1.5px; transition: color 0.2s; }
    .mobile-nav a:active, .mobile-nav a:hover { color: var(--accent); }
    .mobile-nav .mob-cta { background: var(--accent); color: #f7fffb; padding: 14px 40px; border-radius: 50px; font-size: 1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 8px; }

    /* ===== HERO ===== */
    #hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 48px) 60px 60px; position: relative; overflow: hidden; }

    .hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; z-index: 2; width: 100%; }
    .hero-left { display: flex; flex-direction: column; position: relative; left: 10%; bottom: 5%; }

    /* ===== PROJECT FORM CARD ===== */
    .hero-form-card {
      background: rgba(255,255,255,0.88);
      border: 1px solid rgba(24,34,45,0.1);
      border-radius: 24px;
      position: relative;
      right: 60%;
      padding: 28px 26px 24px;
      box-shadow: 0 20px 60px rgba(78,23,206,0.1), 0 4px 16px rgba(0,0,0,0.06);
      backdrop-filter: blur(20px);
      animation: fade-up 0.7s ease 0.35s both;
      max-height: calc(100svh - var(--nav-h) - 80px);
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(78,23,206,0.2) transparent;
    }
    .hf-card {
      background: rgba(255,255,255,0.88);
      border: 1px solid rgba(24,34,45,0.1);
      border-radius: 24px;
      position: absolute;
      top: 10%;
      left: 40%;
      padding: 28px 26px 24px;
      box-shadow: 0 20px 60px rgba(78,23,206,0.1), 0 4px 16px rgba(0,0,0,0.06);
      backdrop-filter: blur(20px);
      animation: fade-up 0.7s ease 0.35s both;
      width: 450px;
      scrollbar-width: thin;
      scrollbar-color: rgba(78,23,206,0.2) transparent;
    }
    .hero-form-card::-webkit-scrollbar { width: 4px; }
    .hero-form-card::-webkit-scrollbar-track { background: transparent; }
    .hero-form-card::-webkit-scrollbar-thumb { background: rgba(78,23,206,0.2); border-radius: 4px; }

    .hfc-header { margin-bottom: 20px; }
    .hfc-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
    .hfc-eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--accent); border-radius: 2px; }
    .hfc-title { font-family: 'Syne', sans-serif; font-size: 1.22rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text); line-height: 1.25; }
    .hfc-title span { color: var(--accent); }
    .hfc-sub { font-size: 0.75rem; color: var(--muted); margin-top: 5px; line-height: 1.5; }

    .hfc-form { display: flex; flex-direction: column; gap: 12px; }
    .hfc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hfc-field { display: flex; flex-direction: column; gap: 5px; }
    .hfc-field label { font-size: 0.7rem; font-weight: 600; color: var(--text); letter-spacing: 0.03em; text-transform: uppercase; }
    .hfc-field label .req { color: var(--accent); margin-left: 2px; }
    .hfc-input, .hfc-select, .hfc-textarea {
      background: rgba(245,241,241,0.7);
      border: 1.5px solid rgba(24,34,45,0.1);
      border-radius: 10px;
      padding: 9px 12px;
      font-size: 0.82rem;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
      outline: none;
      width: 100%;
    }
    .hfc-input:focus, .hfc-select:focus, .hfc-textarea:focus {
      border-color: var(--accent);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(78,23,206,0.08);
    }
    .hfc-input::placeholder, .hfc-textarea::placeholder { color: rgba(95,111,126,0.55); }
    .hfc-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235f6f7e' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; cursor: pointer; }
    .hfc-select option { background: #fff; color: var(--text); }
    .hfc-textarea { resize: none; height: 72px; line-height: 1.5; }

    .hfc-check-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(78,23,206,0.04); border: 1.5px solid rgba(78,23,206,0.12); border-radius: 10px; cursor: pointer; transition: border-color 0.2s, background 0.2s; user-select: none; }
    .hfc-check-row:hover { border-color: rgba(78,23,206,0.28); background: rgba(78,23,206,0.07); }
    .hfc-checkbox-box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid rgba(78,23,206,0.35); background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s, border-color 0.2s; }
    .hfc-check-row.checked .hfc-checkbox-box { background: var(--accent); border-color: var(--accent); }
    .hfc-check-text { font-size: 0.78rem; font-weight: 600; color: var(--text); line-height: 1.3; }
    .hfc-check-sub { font-size: 0.68rem; color: var(--muted); }

    .hfc-submit {
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 13px 20px;
      font-size: 0.84rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: box-shadow 0.3s, transform 0.2s, background 0.2s;
      margin-top: 4px;
      box-shadow: 0 4px 18px rgba(78,23,206,0.25);
      width: 100%;
    }
    .hfc-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(78,23,206,0.35); }
    .hfc-submit:active { transform: translateY(0); }
    .hfc-submit.sent { background: #1ea672; box-shadow: 0 4px 18px rgba(30,166,114,0.3); }
    .hfc-privacy { font-size: 0.65rem; color: var(--muted); text-align: center; margin-top: 6px; opacity: 0.8; }

    .hfc-divider { display: flex; align-items: center; gap: 8px; margin: 0; }
    .hfc-divider span { font-size: 0.65rem; color: var(--muted); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.08em; }
    .hfc-divider::before, .hfc-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
    .hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(24,34,45,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(24,34,45,0.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent); }
    .hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
    .hero-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(30,166,114,0.16), transparent 70%); top: -100px; right: 10%; animation: orb-float 8s ease-in-out infinite; }
    .hero-orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(23,128,201,0.12), transparent 70%); bottom: 0; left: 5%; animation: orb-float 10s ease-in-out infinite reverse; }
    .hero-orb-3 { width: 250px; height: 250px; background: radial-gradient(circle, rgba(196,109,45,0.1), transparent 70%); top: 30%; right: 30%; animation: orb-float 12s ease-in-out infinite 2s; }
    @keyframes orb-float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

    .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(30,166,114,0.08); border: 1px solid rgba(30,166,114,0.18); padding: 7px 16px; border-radius: 50px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 28px; width: fit-content; animation: fade-up 0.7s ease both; }
    .badge-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
    @keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

    .hero-title { font-family: 'Poppins', sans-serif; font-size: 80px; font-weight: 800; line-height: 1; letter-spacing: -3px; margin-bottom: 28px; animation: fade-up 0.7s ease 0.1s both; }
    .hero-title .line2 { color: var(--accent); }
    .hero-title .line3 { -webkit-text-stroke: 1.5px rgba(24,34,45,0.18); color: transparent; }

    .hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 500px; line-height: 1.75; margin-bottom: 44px; font-weight: 300; animation: fade-up 0.7s ease 0.2s both; }
    .hero-sub strong { color: var(--text); font-weight: 500; }

    .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fade-up 0.7s ease 0.3s both; }
    .btn-primary { background: var(--accent); color: #f7fffb; padding: 14px 28px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 8px; transition: box-shadow 0.3s, transform 0.2s; box-shadow: var(--shadow-md); }
    .btn-primary:hover { box-shadow: var(--glow); transform: translateY(-2px); }
    .btn-secondary { background: rgba(255,255,255,0.62); color: var(--text); padding: 14px 28px; border-radius: 50px; text-decoration: none; font-weight: 500; font-size: 0.9rem; border: 1px solid var(--border); transition: border-color 0.3s, background 0.3s, transform 0.2s, box-shadow 0.3s; box-shadow: var(--shadow-md); }
    .btn-secondary:hover { border-color: var(--accent); background: rgba(30,166,114,0.06); transform: translateY(-2px); }

    .hero-stats { margin-top: 44px; display: flex; gap: 40px; flex-wrap: wrap; animation: fade-up 0.7s ease 0.4s both; }
    .stat-num { font-family: 'Rubik', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--accent); letter-spacing: -2px; }
    .stat-label { font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

    .hero-scroll { position: absolute; bottom: 32px; left: 60px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
    .scroll-line { width: 36px; height: 1px; background: var(--muted); position: relative; overflow: hidden; }
    .scroll-line::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--accent); animation: sl 2s ease-in-out infinite; }
    @keyframes sl { 0% { left: -100%; } 100% { left: 100%; } }
    @keyframes fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

    /* ===== FLOATING ICONS ===== */
    .hero-floating-icons { display: none; }
    @media (min-width: 1280px) {
      .hero-floating-icons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 3;
        align-items: center;
      }
      .float-icon {
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.82);
        border: 1px solid var(--border);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-md);
        animation: float-bob var(--dur, 5s) ease-in-out infinite;
        animation-delay: var(--delay, 0s);
        opacity: 0.9;
        backdrop-filter: blur(8px);
      }
      .float-icon svg { width: 26px; height: 26px; display: block; }
      @keyframes float-bob {
        0%,100% { transform: translateY(0px); }
        50% { transform: translateY(-7px); }
      }
    }

    /* ===== COMMON SECTION ===== */
    section { padding: 100px 60px; position: relative; }
    .section-tag { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
    .section-title { font-family: 'Helvetica', sans-serif; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 18px; }
    .section-desc { color: var(--muted); font-size: 0.95rem; max-width: 500px; line-height: 1.8; font-weight: 300; }
    .proj-text{
      font-family: Roboto, sans-serif;
      padding: 10px;
      font-size: 24px;
      color: #3b06b8;
    }

    /* ===== MARQUEE ===== */
    .marquee-section { padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: rgba(255,255,255,0.46); }
    .marquee-track { display: flex; gap: 52px; white-space: nowrap; animation: marquee 22s linear infinite; width: max-content; }
    .marquee-item { display: flex; align-items: center; gap: 10px; font-family: 'Archivo Black', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
    .marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
    @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    /* ===== ABOUT ===== */
    #about { background: var(--surface); }
    .about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; margin-top: 60px; }
    .about-visual { position: relative; display: flex; align-items: center; gap: 32px; }
    .about-avatar-wrap { width: 280px; height: 340px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,0.92), #f1eadc); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
    .about-avatar-wrap::before { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent 0deg, var(--accent) 60deg, transparent 120deg); animation: rot 4s linear infinite; opacity: 0.12; }
    @keyframes rot { to { transform: rotate(360deg); } }
    .about-avatar-inner { position: relative; z-index: 1; width: calc(100% - 2px); height: calc(100% - 2px); background: linear-gradient(180deg, #fffdf7 0%, #f2ecdf 100%); border-radius: 23px; display: flex; align-items: center; justify-content: center; color: var(--accent2); }
    .about-profile-img { width: 300px; height: 300px; border-radius: 50%; background: linear-gradient(135deg, #e8e4dc, #d4cfc2); border: 3px solid rgba(102, 101, 101, 0.8); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: inset 0 2px 8px rgba(0,0,0,0.08); position: absolute; left: 30%; }
    .about-profile-img img { width: 100%; height: 100%; object-fit: cover; }
    .about-profile-placeholder { font-size: 0.72rem; color: var(--muted); text-align: center; line-height: 1.4; }
    .about-tag { position: absolute; background: rgba(255,255,255,0.9); border: 1px solid var(--border); border-radius: 10px; padding: 9px 14px; font-size: 0.76rem; font-weight: 600; display: flex; align-items: center; gap: 7px; white-space: nowrap; box-shadow: var(--shadow-md); }
    .about-tag.tag1 { top: -10px; right: -10px; color: var(--accent); border-color: rgba(30,166,114,0.18); }
    .about-tag.tag2 { bottom: 20px; left: -10px; color: var(--accent2); border-color: rgba(23,128,201,0.18); }
    .skills-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
    .chip { padding: 7px 15px; border-radius: 50px; font-size: 0.8rem; font-weight: 500; border: 1px solid var(--border); color: var(--muted); background: rgba(255,255,255,0.72); transition: border-color 0.2s, color 0.2s, background 0.2s; }
    .chip:hover { border-color: var(--accent); color: var(--accent); background: rgba(30,166,114,0.05); }
    .chip.flutter { border-color: rgba(23,128,201,0.26); color: var(--accent2); }
    .chip.node { border-color: rgba(30,166,114,0.26); color: var(--accent); }

    /* ===== SKILLS ===== */
    #skills { background: var(--bg); }
    .skills-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 52px; }
    .skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
    .skill-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; box-shadow: var(--shadow-md); backdrop-filter: blur(16px); }
    .skill-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ca, var(--accent)), transparent); opacity: 0; transition: opacity 0.3s; }
    .skill-card:hover { border-color: var(--ca, var(--accent)); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .skill-card:hover::before { opacity: 1; }
    .skill-card.c2 { --ca: var(--accent2); }
    .skill-card.c3 { --ca: var(--accent3); }
    .skill-icon, .service-icon, .project-icon, .about-avatar-icon, .about-tag-icon, .social-link svg { display: inline-flex; align-items: center; justify-content: center; }
    .skill-icon, .service-icon { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; background: rgba(255,255,255,0.74); border: 1px solid var(--border); color: var(--ca, var(--accent)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.55); }
    .skill-icon svg, .service-icon svg, .project-icon svg, .about-avatar-icon svg, .about-tag-icon svg, .social-link svg, .inline-icon svg, .btn-icon svg { width: 24px; height: 24px; }
    .skill-name { font-family: 'Archivo Black', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
    .skill-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
    .skill-bar-wrap { margin-top: 18px; height: 3px; background: rgba(24,34,45,0.08); border-radius: 10px; overflow: hidden; }
    .skill-bar { height: 100%; border-radius: 10px; background: var(--ca, var(--accent)); transition: width 1.5s cubic-bezier(.17,.67,.83,.67); }

    /* ===== PROJECTS ===== */
    #projects { background: var(--surface); }
    .projects-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 52px; }
    .projects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
    .project-card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; box-shadow: var(--shadow-md); backdrop-filter: blur(16px); }
    .project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(30,166,114,0.2); }
    .project-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
    .project-thumb { height: 200px; background: linear-gradient(135deg, #e9f6f0, #f5ecdf); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .project-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
    .project-img img { width: 100%; height: 100%; object-fit: cover; }
    .project-img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 0.7rem; text-align: center; padding: 20px; }
    .project-card.featured .project-thumb { height: auto; min-height: 260px; }
    .thumb-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 80%, var(--tc, rgba(30,166,114,0.15)), transparent 60%); }
    .project-card.featured .project-thumb { --tc: rgba(23,128,201,0.14); }
    .project-icon { position: relative; z-index: 1; width: 88px; height: 88px; border-radius: 28px; background: rgba(255,255,255,0.8); border: 1px solid rgba(24,34,45,0.08); color: var(--pc, var(--accent)); box-shadow: var(--shadow-md); }
    .project-icon svg { width: 40px; height: 40px; }
    .project-body { padding: 24px; }
    .project-tags { display: flex; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
    .project-tag { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; font-weight: 600; background: rgba(30,166,114,0.08); color: var(--accent); }
    .project-tag.blue { background: rgba(23,128,201,0.08); color: var(--accent2); }
    .project-tag.purple { background: rgba(196,109,45,0.1); color: var(--accent3); }
    .project-name { font-family: 'Archivo Black', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 9px; letter-spacing: -0.5px; }
    .project-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
    .project-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 0.82rem; font-weight: 600; color: var(--accent); text-decoration: none; }
    .project-link svg { transition: transform 0.2s; }
    .project-link:hover svg { transform: translate(3px,-3px); }

    /* ===== SERVICES ===== */
    #services { background: var(--bg); }
    .services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 52px; }
    .service-card { padding: 32px 26px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; box-shadow: var(--shadow-md); backdrop-filter: blur(16px); }
    .service-card:hover { border-color: var(--accent3); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .service-num { font-family: 'Archivo Black', sans-serif; font-size: 2.5rem; font-weight: 800; color: rgba(24,34,45,0.08); letter-spacing: -3px; line-height: 1; margin-bottom: 18px; }
    .service-name { font-family: 'Archivo Black', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
    .service-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.7; }

    /* ===== CONTACT ===== */
    #contact { background: var(--surface); text-align: center; }
    .contact-inner { max-width: 680px; margin: 0 auto; }
    .contact-title { font-family: 'Syne', sans-serif; font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -3px; line-height: 1; margin-bottom: 20px; }
    .contact-title span { color: var(--accent); }
    .contact-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 40px; font-weight: 300; }
    .contact-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-group { display: flex; flex-direction: column; gap: 7px; }
    .form-group label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
    .form-group input, .form-group textarea { background: rgba(255,255,255,0.82); border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none; resize: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; appearance: none; -webkit-appearance: none; width: 100%; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4); }
    .form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,166,114,0.12); background: #fffefb; }
    .form-submit { background: var(--accent); color: #f7fffb; border: none; cursor: pointer; padding: 15px 36px; border-radius: 50px; font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: box-shadow 0.3s, transform 0.2s; align-self: flex-end; appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; gap: 8px; }
    .form-submit:hover { box-shadow: var(--glow); transform: translateY(-2px); }
    .social-links { display: flex; justify-content: center; gap: 12px; margin-top: 44px; flex-wrap: wrap; }
    .social-link { width: 48px; height: 48px; background: rgba(255,255,255,0.78); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--text); transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s; box-shadow: var(--shadow-md); }
    .social-link:hover { border-color: var(--accent); background: rgba(30,166,114,0.07); transform: translateY(-3px); color: var(--accent); }

    /* ===== FOOTER ===== */
    footer { background: rgba(255,250,242,0.82); border-top: 1px solid var(--border); padding: 36px 60px; display: flex; align-items: center; justify-content: space-between; position: relative; flex-wrap: wrap; gap: 16px; }
    footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent); opacity: 0.3; }
    .footer-logo { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.2rem; }
    .footer-logo span { color: var(--accent); }
    .footer-copy { font-size: 0.78rem; color: var(--muted); }
    .footer-links { display: flex; gap: 24px; }
    .footer-links a { color: var(--muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
    .footer-links a:hover { color: var(--accent); }
    .inline-icon { display: inline-flex; vertical-align: middle; margin: 0 2px; color: currentColor; }
    .btn-icon { display: inline-flex; align-items: center; justify-content: center; }
    .about-avatar-icon { width: 112px; height: 112px; border-radius: 36px; background: rgba(23,128,201,0.08); border: 1px solid rgba(23,128,201,0.12); }
    .about-avatar-icon svg { width: 58px; height: 58px; }
    .about-tag-icon { width: 18px; height: 18px; }
    .form-submit.is-success { background: var(--accent2); }

    /* ===== REVEAL ===== */
    .reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.17,.67,.38,.98); }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }

    /* ===== TABLET ≤1024 ===== */
    @media (max-width: 1024px) {
      nav { padding: 0 32px; }
      section { padding: 80px 32px; }
      #hero { padding: calc(var(--nav-h) + 40px) 32px 60px; }
      .hero-inner { grid-template-columns: 1fr; gap: 40px; }
      .hero-form-card { display: none; }
      .hero-scroll { left: 32px; }
      .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
      .skills-grid { grid-template-columns: repeat(2,1fr); }
      footer { padding: 32px; }
      .about-profile-img{
        left: 9%;
      }
    }

    /* ===== MOBILE ≤768 ===== */
    @media (max-width: 768px) {
      :root { --nav-h: 62px; }

      nav { padding: 0 18px; }
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      .mobile-nav { display: flex; }

      #hero { padding: calc(var(--nav-h) + 24px) 20px 48px; }
      .hero-inner { grid-template-columns: 1fr; gap: 32px; }
      .hfc-row { grid-template-columns: 1fr; gap: 10px; }
      .hero-title { font-size: clamp(2.5rem, 12vw, 3.6rem); letter-spacing: -2px; margin-bottom: 20px; }
      .hero-sub { font-size: 0.93rem; margin-bottom: 30px; max-width: 100%; }
      .hero-actions { flex-direction: column; gap: 12px; }
      .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 15px 24px; }
      .hero-stats { gap: 24px; margin-top: 44px; }
      .stat-num { font-size: 2rem; }
      .stat-label { font-size: 0.72rem; }
      .hero-scroll { display: none; }
      .hero-orb-1 { width: 260px; height: 260px; top: -40px; right: -30px; filter: blur(60px); }
      .hero-orb-2 { width: 180px; height: 180px; filter: blur(60px); }
      .hero-orb-3 { display: none; }

      section { padding: 60px 20px; }
      .section-title { letter-spacing: -1px; }

      .about-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
      .about-visual { order: -1; }
      .about-avatar-wrap { width: 190px; height: 230px; border-radius: 18px; margin: 0 auto; }
      .about-avatar-icon { width: 88px; height: 88px; border-radius: 28px; }
      .about-avatar-icon svg { width: 48px; height: 48px; }
      .about-tag { font-size: 0.7rem; padding: 7px 11px; }
      .about-tag.tag1 { display: none; }
      .about-tag.tag2 { display: none;}
      .hf-card{
        position: absolute;
        max-width: 400px;
        top: 8%;
        left: 2%;
      }

      .skills-header { flex-direction: column; align-items: flex-start; gap: 12px; }
      .skills-grid { grid-template-columns: 1fr; gap: 12px; }
      .skill-card { padding: 22px 20px; }

      .projects-header { flex-direction: column; align-items: flex-start; gap: 14px; }
      .projects-grid { grid-template-columns: 1fr; gap: 14px; }
      .project-card.featured { grid-column: span 1; display: block; }
      .project-card.featured .project-thumb { min-height: 170px; height: 170px; }
      .project-thumb { height: 160px; }
      .project-body { padding: 18px; }
      .project-name { font-size: 1.1rem; }

      .services-grid { grid-template-columns: 1fr; gap: 12px; }
      .service-card { padding: 22px 18px; }

      #contact { padding: 60px 20px; }
      .contact-title { letter-spacing: -2px; }
      .form-row { grid-template-columns: 1fr; gap: 14px; }
      .form-submit { align-self: stretch; width: 100%; }

      footer { flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; gap: 16px; }
      .footer-links { flex-wrap: wrap; justify-content: center; gap: 18px; }
      .about-profile-img{
        position: relative;
      }
      .hero-left{
        position: relative;
        left: -1%;
        bottom: 5%;
      }
    }

    /* ===== SMALL ≤380 ===== */
    @media (max-width: 380px) {
      .hero-title { font-size: 2.3rem; }
      .hero-badge { font-size: 0.68rem; padding: 6px 12px; }
      .hero-stats { gap: 18px; }
      .stat-num { font-size: 1.75rem; }
      .mobile-nav a { font-size: 1.9rem; }
      .about-avatar-wrap { width: 160px; height: 200px; }
      .about-avatar-icon { width: 74px; height: 74px; border-radius: 24px; }
      .about-avatar-icon svg { width: 40px; height: 40px; }
      .about-tag.tag2 { display: none; }
    }

    /* ===== LANDSCAPE MOBILE ===== */
    @media (max-height: 520px) and (max-width: 900px) {
      #hero { min-height: auto; padding-bottom: 36px; }
      .hero-title { font-size: 2rem; letter-spacing: -1px; }
      .hero-stats { margin-top: 32px; }
      .mobile-nav { flex-direction: row; flex-wrap: wrap; gap: 16px; padding: 80px 24px 24px; align-content: center; justify-content: center; }
      .mobile-nav a { font-size: 1.5rem; }
      .mobile-nav .mob-cta { padding: 10px 28px; font-size: 0.9rem; }
    }