 :root {
            --primary: #0a0f1e;
            --accent: #2563eb;
            --accent2: #0ea5e9;
            --accent-glow: rgba(37,99,235,0.18);
            --text: #1e293b;
            --text-light: #64748b;
            --bg: #ffffff;
            --bg-alt: #f0f4ff;
            --border: #dde4f0;
            --py-color: #3b82f6;
            --django-color: #0d9488;
            --sqlite-color: #7c3aed;
            --mysql-color: #ea580c;
            --api-color: #059669;
            --html-color: #d97706;
        }

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

        body {
            font-family: 'DM Sans', sans-serif;
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* ── NAV ── */
        nav {
            position: fixed; top: 0; width: 100%;
            background: rgba(255,255,255,0.97);
            -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
            z-index: 1000;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06);
            transition: box-shadow 0.3s;
        }
        nav .container {
            max-width: 1200px; margin: 0 auto;
            padding: 1rem 2rem;
            display: flex; justify-content: space-between; align-items: center;
        }
        .logo {
            font-family: 'Syne', sans-serif;
            font-size: 1.5rem; font-weight: 800;
            color: var(--primary);
            display: flex; align-items: center; gap: 0.6rem;
        }
        .logo-image { width: 38px; height: 38px; border-radius: 8px; }
        nav ul { display: flex; gap: 2.5rem; list-style: none; }
        nav a { color: var(--text); text-decoration: none; font-weight: 500; transition: color 0.25s; font-size: 0.95rem; }
        nav a:hover { color: var(--accent); }

        /* ── HERO ── */
        .hero {
            min-height: 100vh;
            display: flex; align-items: center; justify-content: center;
            text-align: center;
            padding: 8rem 2rem 4rem;
            background: linear-gradient(145deg, #f0f4ff 0%, #e8f0fe 40%, #dbeafe 100%);
            position: relative; overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute; inset: 0;
            background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.12) 0%, transparent 70%);
            pointer-events: none;
        }
        .hero-content { max-width: 820px; position: relative; z-index: 1; }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 0.5rem;
            background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.25);
            color: var(--accent); padding: 0.4rem 1.1rem; border-radius: 100px;
            font-size: 0.88rem; font-weight: 600; margin-bottom: 1.5rem;
            letter-spacing: 0.02em;
        }
        .hero h1 {
            font-family: 'Syne', sans-serif;
            font-size: clamp(2.4rem, 5vw, 3.8rem);
            font-weight: 800; line-height: 1.15;
            color: var(--primary); margin-bottom: 1.4rem;
        }
        .hero .highlight { color: var(--accent); }
        .hero > .hero-content > p {
            font-size: 1.15rem; color: var(--text-light);
            margin-bottom: 2rem; max-width: 620px; margin-left: auto; margin-right: auto;
        }

        /* Tech stack strip in hero */
        .hero-tech-strip {
            display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem;
            margin-bottom: 2.5rem;
        }
        .tech-pill {
            display: inline-flex; align-items: center; gap: 0.35rem;
            padding: 0.35rem 0.9rem; border-radius: 100px;
            font-size: 0.82rem; font-weight: 600;
            border: 1.5px solid; letter-spacing: 0.01em;
        }
        .tech-pill.py    { color: var(--py-color);    border-color: var(--py-color);    background: rgba(59,130,246,0.07); }
        .tech-pill.dj    { color: var(--django-color); border-color: var(--django-color); background: rgba(13,148,136,0.07); }
        .tech-pill.sq    { color: var(--sqlite-color); border-color: var(--sqlite-color); background: rgba(124,58,237,0.07); }
        .tech-pill.my    { color: var(--mysql-color);  border-color: var(--mysql-color);  background: rgba(234,88,12,0.07); }
        .tech-pill.api   { color: var(--api-color);    border-color: var(--api-color);    background: rgba(5,150,105,0.07); }
        .tech-pill.html  { color: var(--html-color);   border-color: var(--html-color);   background: rgba(217,119,6,0.07); }

        .hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
        .hero-trust { margin-top: 1.8rem; }
        .satisfaction-btn {
            display: inline-block; margin-top: 1.2rem; padding: 0.85rem 2rem;
            border-radius: 10px; background: transparent; border: 2px solid var(--primary);
            color: var(--primary); font-weight: 700; text-decoration: none;
            transition: all 0.3s ease; font-family: 'Syne', sans-serif; font-size: 0.9rem;
        }
        .satisfaction-btn:hover {
            background: var(--primary); color: #fff;
            transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }
        .trust-note { margin-top: 0.5rem; color: var(--text-light); font-size: 0.88rem; }

        .cta-button {
            display: inline-block; padding: 0.9rem 2.2rem;
            background: var(--accent); color: white; text-decoration: none;
            border-radius: 8px; font-weight: 600; font-size: 0.98rem;
            transition: all 0.3s; border: none; cursor: pointer;
            font-family: 'DM Sans', sans-serif;
        }
        .cta-button:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,99,235,0.3); }
        .cta-secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
        .cta-secondary:hover { background: var(--accent); color: white; }

        /* ── SECTIONS ── */
        section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
        h2 {
            font-family: 'Syne', sans-serif;
            font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800;
            margin-bottom: 0.8rem; text-align: center; color: var(--primary);
        }
        .section-subtitle {
            text-align: center; color: var(--text-light); font-size: 1.05rem;
            margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto;
        }

        /* ── PORTFOLIO ── */
        .portfolio-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(330px,1fr));
            gap: 1.8rem; margin-top: 1rem;
        }
        .project-card {
            background: var(--bg); border-radius: 14px; overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.07);
            transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
            border: 1px solid var(--border);
            display: flex; flex-direction: column;
        }
        .project-card:hover { transform: translateY(-7px); box-shadow: 0 14px 32px rgba(0,0,0,0.13); border-color: rgba(37,99,235,0.25); }

        .project-image {
            position: relative; width: 100%; height: 210px;
            overflow: hidden;
            background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
            display: flex; align-items: center; justify-content: center;
        }
        .project-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .project-image.emoji-card { font-size: 3.5rem; }

        .demo-click-area {
            position: absolute; inset: 0; z-index: 2; text-decoration: none;
        }
        .click-hint {
            position: absolute; inset: 0;
            background: rgba(10,15,30,0.62);
            color: #fff; font-weight: 700; font-size: 0.95rem;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.3s ease;
            gap: 0.4rem;
        }
        .project-image:hover .click-hint { opacity: 1; }

        .project-info { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
        .project-info h3 {
            font-family: 'Syne', sans-serif;
            font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--primary);
        }
        .project-info p { color: var(--text-light); margin-bottom: 0.8rem; font-size: 0.93rem; line-height: 1.65; }

        /* Demo credentials */
        .demo-credentials {
            background: #f8faff; padding: 0.85rem 1rem;
            border-radius: 8px; margin: 0.6rem 0 0.9rem;
            border: 1px solid var(--border); font-size: 0.87rem;
        }
        .demo-credentials .cred-title {
            font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em;
        }
        .cred-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.2rem; }
        .cred-label { color: var(--text-light); min-width: 80px; font-size: 0.84rem; }
        .cred-value { color: var(--accent); font-weight: 600; font-family: 'Courier New', monospace; font-size: 0.88rem; background: rgba(37,99,235,0.07); padding: 0.1rem 0.5rem; border-radius: 4px; }

        .tech-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.8rem; }
        .tag {
            padding: 0.28rem 0.8rem; border-radius: 100px;
            font-size: 0.8rem; font-weight: 600; border: 1.5px solid;
        }
        .tag.py    { color: var(--py-color);    border-color: var(--py-color);    background: rgba(59,130,246,0.08); }
        .tag.dj    { color: var(--django-color); border-color: var(--django-color); background: rgba(13,148,136,0.08); }
        .tag.sq    { color: var(--sqlite-color); border-color: var(--sqlite-color); background: rgba(124,58,237,0.08); }
        .tag.my    { color: var(--mysql-color);  border-color: var(--mysql-color);  background: rgba(234,88,12,0.08); }
        .tag.api   { color: var(--api-color);    border-color: var(--api-color);    background: rgba(5,150,105,0.08); }
        .tag.html  { color: var(--html-color);   border-color: var(--html-color);   background: rgba(217,119,6,0.08); }
        .tag.css   { color: #0891b2;   border-color: #0891b2;   background: rgba(8,145,178,0.08); }
        .tag.js    { color: #ca8a04;   border-color: #ca8a04;   background: rgba(202,138,4,0.08); }

        .demo-link-btn {
            display: inline-flex; align-items: center; gap: 0.4rem;
            font-size: 0.83rem; font-weight: 600; color: var(--accent);
            text-decoration: none; margin-top: 0.7rem;
            padding: 0.4rem 0.9rem; border-radius: 6px;
            border: 1.5px solid rgba(37,99,235,0.3);
            background: rgba(37,99,235,0.04);
            transition: all 0.2s;
            align-self: flex-start;
        }
        .demo-link-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }

        /* emoji gradient cards */
        .project-card:nth-child(5) .project-image { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
        .project-card:nth-child(6) .project-image { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

        /* ── PRICING ── */
        #pricing { background: #f4f7ff; padding: 5rem 2rem; max-width: 100%; }
        .pricing-inner { max-width: 1200px; margin: 0 auto; }
        .pricing-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
            gap: 1.8rem; margin-top: 2.5rem;
        }
        .pricing-card {
            background: var(--bg); border: 2px solid var(--border);
            border-radius: 16px; padding: 2.2rem 1.8rem;
            transition: all 0.3s; position: relative;
            display: flex; flex-direction: column;
        }
        .pricing-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(0,0,0,0.1); border-color: var(--accent); }
        .pricing-card.featured { border-color: var(--accent); border-width: 2.5px; background: linear-gradient(135deg,rgba(37,99,235,0.03) 0%,rgba(186,230,253,0.06) 100%); }
        .featured-badge {
            position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
            background: var(--accent); color: white; padding: 0.35rem 1.3rem;
            border-radius: 100px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
        }
        .pricing-header { text-align: center; padding-bottom: 1.4rem; border-bottom: 1.5px solid var(--border); margin-bottom: 1.4rem; }
        .pricing-card h3 { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 0.3rem; color: var(--primary); }
        .package-type { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0.8rem; }
        .price { font-family: 'Syne', sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--accent); margin: 0.7rem 0; }
        .price-currency { font-size: 1.3rem; font-weight: 600; color: var(--text-light); }

        .pricing-tech-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 1rem; }

        .features { list-style: none; margin: 0.5rem 0 1.2rem; flex-grow: 1; }
        .features li { padding: 0.85rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.92rem; }
        .features li:last-child { border-bottom: none; }
        .feature-label { font-weight: 700; color: var(--primary); min-width: 110px; font-size: 0.88rem; }
        .feature-value { color: var(--text-light); flex: 1; }
        .feature-value.yes { color: #059669; font-weight: 600; }
        .feature-value.no  { color: #94a3b8; }

        .inquiry-button {
            width: 100%; padding: 0.9rem; background: var(--primary); color: white;
            border: none; border-radius: 8px; font-weight: 600; cursor: pointer;
            transition: all 0.3s; font-size: 0.95rem; margin-top: 0.5rem;
            font-family: 'DM Sans', sans-serif;
        }
        .inquiry-button:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,0.25); }
        .featured .inquiry-button { background: var(--accent); }
        .featured .inquiry-button:hover { background: #1d4ed8; }

        /* ── CONTACT ── */
        #contact { background: #f8faff; padding: 5rem 2rem; max-width: 100%; }
        .contact-inner { max-width: 1200px; margin: 0 auto; }
        .contact-section {
            background: var(--bg); border-radius: 16px; padding: 3.5rem 2.5rem;
            text-align: center; max-width: 680px; margin: 0 auto;
            box-shadow: 0 4px 20px rgba(0,0,0,0.07);
        }
        .contact-subtext { color: var(--text-light); margin-bottom: 2rem; }
        .contact-form { margin: 1.5rem auto 0; display: flex; flex-direction: column; gap: 1.2rem; }
        input, textarea, select {
            padding: 0.9rem 1rem; border: 1.5px solid var(--border);
            border-radius: 8px; font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
            transition: border-color 0.3s; background: #fafbff;
        }
        input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); background: #fff; }
        textarea { min-height: 120px; resize: vertical; }
        label { text-align: left; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: -0.6rem; }

        /* ── FOOTER ── */
        footer { text-align: center; padding: 2.5rem 2rem; color: var(--text-light); background: var(--primary); }
        .footer-content { max-width: 1200px; margin: 0 auto; }
        .footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
        .footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.3s; font-size: 0.9rem; }
        .footer-links a:hover { color: #fff; }
        footer p { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-bottom: 0.5rem; }
        footer a { color: rgba(37,99,235,0.8); transition: color 0.2s; text-decoration: none; font-size: 0.88rem; }
        footer a:hover { color: #60a5fa; }

        /* ── MODAL ── */
        .modal {
            display: none; position: fixed; z-index: 2000;
            left: 0; top: 0; width: 100%; height: 100%;
            background: rgba(10,15,30,0.55);
            -webkit-backdrop-filter: blur(6px); 
            backdrop-filter: blur(6px);
             overflow-y: auto;
        }
        .modal-content {
            background: var(--bg); margin: 5% auto; padding: 2.5rem;
            border-radius: 16px; max-width: 540px; width: calc(100% - 2rem);
            box-shadow: 0 24px 60px rgba(0,0,0,0.25); animation: slideDown 0.3s ease;
        }
        .modal .contact-form { margin-top: 1.2rem; }
        .modal .contact-form input, .modal .contact-form textarea, .modal .contact-form button { width: 100%; box-sizing: border-box; }
        @keyframes slideDown { from { transform: translateY(-40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        .close { color: var(--text-light); float: right; font-size: 1.8rem; font-weight: 700; cursor: pointer; line-height: 1; transition: color 0.2s; }
        .close:hover { color: var(--primary); }
        .modal h3 { font-family: 'Syne', sans-serif; color: var(--primary); font-size: 1.6rem; font-weight: 800; }

        /* ── RESPONSIVE ── */
        @media (max-width: 768px) {
            .hero h1 { font-size: 2.2rem; }
            nav ul { gap: 1.2rem; }
            nav .container { padding: 1rem; }
            section { padding: 3.5rem 1.2rem; }
            .hero-actions { flex-direction: column; align-items: center; }
            .portfolio-grid, .pricing-grid { grid-template-columns: 1fr; }
            h2 { font-size: 1.9rem; }
            .price { font-size: 2.2rem; }
            .modal-content { margin: 10% 1rem; padding: 1.8rem 1.4rem; }
            .modal h3 { font-size: 1.4rem; }
            .feature-label { min-width: 90px; }
            .contact-section { padding: 2.5rem 1.5rem; }
        }