/* ==========================================================
   SUGUNAKAR PORTFOLIO
   Font policy: Verdana only
   ========================================================== */

:root {
    --bg: #0a0c10;
    --bg-soft: #10131a;
    --surface: #ffffff;
    --surface-soft: #f5f6f8;
    --text: #f7f8fa;
    --text-dark: #101218;
    --muted: #9ca3af;
    --muted-dark: #687080;
    --line: rgba(255,255,255,.12);
    --line-dark: #e5e7eb;
    --accent: #7c5cff;
    --accent-2: #18c8ff;
    --radius: 24px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Verdana, Geneva, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { max-width: 850px; margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,12,16,.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; }
.brand-mark {
    width: 38px; height: 38px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white; font-size: 17px;
}
.brand-text { font-size: 15px; }
.brand-dot { color: var(--accent-2); }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a { color: #aeb4bf; font-size: 13px; transition: .25s ease; text-transform: uppercase; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.nav-cta {
    padding: 11px 17px; border-radius: 12px; font-size: 13px; font-weight: 700;
    background: #fff; color: #101218;
}
.menu-toggle { display: none; margin-left: auto; border: 0; background: none; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; background: #fff; margin: 5px; }

.hero {
    position: relative; overflow: hidden; min-height: 690px;
    display: grid; align-items: center;
    background:
        radial-gradient(circle at 75% 30%, rgba(124,92,255,.20), transparent 28%),
        radial-gradient(circle at 95% 75%, rgba(24,200,255,.12), transparent 25%),
        var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 55px; align-items: center; padding: 90px 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase;
    letter-spacing: .14em; font-size: 11px; font-weight: 700; color: #aab2c0;
}
.eyebrow.dark { color: #687080; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #42df9c; box-shadow: 0 0 0 5px rgba(66,223,156,.12); }
.hero h1 { font-size: clamp(42px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -.055em; margin: 20px 0 24px; max-width: 750px; }
.hero h1 span { background: linear-gradient(90deg, #fff, #8ca5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: #aab1bd; font-size: 17px; max-width: 680px; }
.hero-actions { display: flex; gap: 12px; margin: 32px 0; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 11px; border: 0; border-radius: 13px; padding: 14px 19px; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #8a6cff, #6e52ed); color: #fff; box-shadow: 0 12px 28px rgba(124,92,255,.24); }
.btn-secondary { border: 1px solid var(--line); color: #fff; background: rgba(255,255,255,.03); }
.btn.full { width: 100%; }

.hero-meta { display: flex; gap: 34px; padding-top: 12px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-size: 20px; }
.hero-meta span { color: #747c8b; font-size: 11px; margin-top: 3px; }

.hero-visual { min-height: 470px; position: relative; display: grid; place-items: center; }
.device-stage { width: 420px; height: 450px; position: relative; }
.phone-card {
    position: absolute; right: 25px; top: 45px; width: 225px; height: 420px;
    border: 7px solid #1d222c; border-radius: 37px; background: #07090d;
    box-shadow: 0 35px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
    transform: rotate(5deg); z-index: 3;
}
.phone-notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 90px; height: 19px; border-radius: 20px; background: #06070a; z-index: 4; }
.phone-screen { height: 100%; border-radius: 29px; padding: 48px 22px 20px; background: linear-gradient(155deg, #1b1b2e, #0a1222 65%, #0b1018); overflow: hidden; }
.screen-pill { width: 55px; height: 5px; border-radius: 10px; background: #4e5aff; margin-bottom: 45px; }
.screen-heading { font-size: 27px; line-height: 1.2; font-weight: 700; letter-spacing: -.04em; }
.screen-heading span { color: #79cfff; }
.screen-card { height: 75px; margin-top: 40px; border-radius: 16px; background: linear-gradient(135deg, rgba(124,92,255,.8), rgba(24,200,255,.25)); }
.screen-card.small { height: 52px; margin-top: 12px; background: rgba(255,255,255,.08); }
.code-card {
    position: absolute; left: 5px; top: 125px; width: 260px; height: 220px; padding: 25px;
    border: 1px solid rgba(255,255,255,.10); border-radius: 20px; background: rgba(19,22,30,.92);
    box-shadow: 0 30px 70px rgba(0,0,0,.35); z-index: 2; transform: rotate(-5deg);
}
.window-dots { display: flex; gap: 6px; margin-bottom: 24px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #626b7c; }
.code-line { height: 7px; border-radius: 8px; background: linear-gradient(90deg, #7860ff, #2a3448); margin: 12px 0; }
.w80 { width: 80%; }.w55 { width: 55%; }.w70 { width: 70%; }.w40 { width: 40%; }.w90 { width: 90%; }.w60 { width: 60%; }
.floating-badge { position: absolute; z-index: 5; padding: 12px 15px; border-radius: 14px; background: rgba(22,25,33,.94); border: 1px solid var(--line); box-shadow: 0 15px 35px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.floating-badge b { font-size: 12px; }.floating-badge small { color: #7f8998; font-size: 9px; margin-top: 2px; }
.badge-swift { left: 10px; top: 55px; }.badge-php { right: 0; bottom: 8px; }

.section { padding: 110px 0; }
.section-light { background: var(--surface); color: var(--text-dark); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 46px; }
.section-heading h2, .section h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.04em; margin: 12px 0 0; }
.section-heading > p { max-width: 470px; color: var(--muted); font-size: 14px; }
.section-light .section-heading > p { color: var(--muted-dark); }
.text-link { font-size: 13px; font-weight: 700; white-space: nowrap; }

.service-cards { display: grid; gap: 18px; }
.service-cards.three { grid-template-columns: repeat(3, 1fr); }
.service-card { padding: 31px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: #fff; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(15,23,42,.08); }
.service-icon { font-size: 27px; margin-bottom: 30px; }
.card-number { position: absolute; right: 24px; top: 28px; color: #c8ccd3; font-size: 11px; font-weight: 700; }
.service-card h3 { font-size: 22px; margin: 0 0 12px; letter-spacing: -.03em; }
.service-card p { color: var(--muted-dark); font-size: 13px; min-height: 105px; }
.service-card a { font-size: 12px; font-weight: 700; }

.projects-section { background: #0d1016; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #11141b; transition: transform .25s ease, border-color .25s ease; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(124,92,255,.55); }
.project-featured { grid-column: span 2; }
.project-art { min-height: 310px; position: relative; overflow: hidden; display: grid; place-items: center; }
.project-featured .project-art { min-height: 390px; }
.art-label { position: absolute; left: 20px; top: 20px; z-index: 5; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; padding: 7px 10px; border-radius: 20px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.15); }
.art-shotcanvas { background: radial-gradient(circle at 50% 30%, #40326e, #111523 62%, #0a0c10); }
.art-news { background: radial-gradient(circle at 50% 50%, #142d42, #081017 70%); }
.art-game { background: radial-gradient(circle at 50% 40%, #6d356d, #171025 70%); }
.art-invoice { background: radial-gradient(circle at 50% 45%, #27473d, #0d1715 70%); }
.art-api { background: radial-gradient(circle at 50% 45%, #27374a, #0b1119 70%); }
.art-backend { background: radial-gradient(circle at 50% 45%, #443424, #15110c 70%); }

.mock-window { width: 66%; height: 58%; border-radius: 14px; background: #e9edf4; box-shadow: 0 30px 60px rgba(0,0,0,.45); overflow: hidden; }
.mock-toolbar { height: 28px; background: #d6dce6; border-bottom: 1px solid #bec6d3; }
.mock-content { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px; padding: 18px; height: calc(100% - 28px); }
.mock-content div { border-radius: 8px; background: #fff; }.mock-content div:first-child { grid-row: span 2; }
.news-mock { padding: 42px; border-radius: 20px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(150deg, rgba(0,177,255,.2), rgba(10,17,28,.88)); box-shadow: 0 30px 70px rgba(0,0,0,.4); transform: rotate(-4deg); }
.news-mock b { display: block; font-size: clamp(22px, 3vw, 35px); line-height: 1.05; letter-spacing: -.05em; }.news-mock small { display: block; color: #79cfff; margin-top: 18px; }
.game-letters { display: flex; gap: 10px; transform: rotate(-5deg); }
.game-letters b { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 24px; }
.invoice-mock { width: 48%; min-width: 220px; padding: 28px; background: #fff; color: #17221f; border-radius: 15px; transform: rotate(5deg); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.invoice-mock strong { display: block; font-size: 16px; }.invoice-mock span { display: block; font-size: 28px; margin: 25px 0; }.invoice-mock i { display: block; height: 5px; background: #d8e0df; margin: 9px 0; border-radius: 5px; }
.api-mock { width: 70%; padding: 25px; border-radius: 15px; background: #0a1018; border: 1px solid #2b394a; box-shadow: 0 30px 60px rgba(0,0,0,.4); font-family: Verdana, sans-serif; font-size: 12px; line-height: 2.1; }
.api-mock div:nth-child(2) { color: #5ee39a; }.api-mock div:nth-child(3) { color: #9aa9bc; }
.server-stack { position: relative; width: 240px; }.server-stack i { display: block; height: 55px; margin: 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.07); }.server-stack strong { position: absolute; right: -10px; top: 43px; padding: 9px 13px; border-radius: 10px; background: #fff; color: #111; font-size: 11px; }

.project-info { padding: 24px 25px 28px; }.project-info > div { display: flex; justify-content: space-between; color: #778090; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }.project-info h3 { margin: 12px 0 7px; font-size: 25px; letter-spacing: -.04em; }.project-info p { color: #9199a7; font-size: 12px; margin: 0; }

.stats-section { padding: 60px 0; background: #090b0f; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }.stat { display: flex; flex-direction: column; gap: 4px; }.stat strong { font-size: 28px; }.stat span { color: #777f8d; font-size: 11px; }

.cta-section { padding-top: 75px; }.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 55px; border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(circle at 80% 20%, rgba(124,92,255,.18), transparent 35%), #11141b; }.cta-box h2 { margin-bottom: 8px; }.cta-box p { color: #858e9e; margin: 0; }

.page-hero { padding: 110px 0 95px; background: radial-gradient(circle at 80% 20%, rgba(124,92,255,.13), transparent 30%), #0b0e13; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.05; letter-spacing: -.055em; margin: 18px 0; }.page-hero p { color: #9ba3b0; max-width: 700px; font-size: 16px; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }.about-copy { color: #555e6d; font-size: 15px; }.about-copy p { margin-top: 0; margin-bottom: 22px; }
.timeline { border-top: 1px solid var(--line); }.timeline-item { display: grid; grid-template-columns: 160px 1fr; gap: 35px; padding: 30px 0; border-bottom: 1px solid var(--line); }.timeline-year { color: #737d8d; font-size: 10px; letter-spacing: .12em; font-weight: 700; }.timeline-item h3 { margin: 0 0 7px; font-size: 21px; }.timeline-item p { margin: 0; color: #8d96a5; font-size: 13px; }
.tech-cloud { display: flex; flex-wrap: wrap; gap: 10px; }.tech-cloud span { padding: 11px 15px; border: 1px solid var(--line-dark); border-radius: 30px; font-size: 12px; background: #fff; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 42px; }.filter-btn { cursor: pointer; border: 1px solid var(--line); background: #11141b; color: #858e9d; padding: 10px 15px; border-radius: 30px; font-size: 11px; }.filter-btn.active, .filter-btn:hover { background: #fff; color: #111; }
.portfolio-list { display: grid; gap: 30px; }.portfolio-project { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #11141b; }.portfolio-project.reverse .portfolio-art { order: 2; }.portfolio-project.reverse .portfolio-content { order: 1; }.large-art { min-height: 500px; }.portfolio-content { padding: 55px; align-self: center; }.project-index { color: #727c8d; font-size: 10px; letter-spacing: .12em; font-weight: 700; }.portfolio-content h2 { font-size: clamp(32px, 4vw, 52px); margin: 14px 0; }.portfolio-content p { color: #939baa; font-size: 14px; max-width: 500px; }.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }.tags span { font-size: 10px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; color: #9ca5b3; }

.service-list { display: grid; gap: 0; }.service-row { display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding: 45px 0; border-bottom: 1px solid var(--line-dark); }.service-row:first-child { border-top: 1px solid var(--line-dark); }.service-no { color: #a5acb7; font-size: 11px; letter-spacing: .1em; }.service-row h2 { margin: 0; font-size: 30px; }.service-row p { max-width: 750px; color: #687080; font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }.contact-copy h2 { font-size: 45px; }.contact-copy > p { color: #939baa; font-size: 14px; }.contact-details { margin-top: 35px; display: grid; gap: 18px; }.contact-details div { display: flex; flex-direction: column; }.contact-details span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #6f7888; }.contact-details strong { font-size: 13px; margin-top: 3px; }
.contact-form { padding: 32px; border: 1px solid var(--line); border-radius: 25px; background: #11141b; display: grid; gap: 18px; }.contact-form label { display: grid; gap: 8px; font-size: 11px; color: #a7afbc; }.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.11); background: #0b0e13; color: #fff; border-radius: 12px; padding: 13px 14px; outline: none; resize: vertical; }.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(124,92,255,.7); }.form-success { padding: 12px 14px; border-radius: 11px; background: rgba(66,223,156,.08); border: 1px solid rgba(66,223,156,.25); color: #83eab5; font-size: 11px; }

.site-footer { padding: 60px 0 25px; border-top: 1px solid var(--line); background: #080a0e; }.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 45px; }.footer-copy { color: #6e7786; font-size: 12px; max-width: 380px; margin-top: 18px; }.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: #737c8b; }.footer-links a:hover { color: #fff; }.footer-bottom { margin-top: 55px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #555e6c; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }.reveal.visible { opacity: 1; transform: translateY(0); }.delay-1 { transition-delay: .08s; }.delay-2 { transition-delay: .16s; }.delay-3 { transition-delay: .24s; }

@media (max-width: 900px) {
    .main-nav { gap: 16px; }.hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }.hero { min-height: auto; }.hero-visual { min-height: 420px; }
    .service-cards.three, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .project-featured { grid-column: span 1; }.project-grid { grid-template-columns: 1fr; }
    .portfolio-project { grid-template-columns: 1fr; }.portfolio-project.reverse .portfolio-art, .portfolio-project.reverse .portfolio-content { order: initial; }
    .large-art { min-height: 390px; }.portfolio-content { padding: 38px; }
}
@media (max-width: 680px) {
    .container { width: min(calc(100% - 30px), var(--max)); }
    .site-header .nav-wrap { min-height: 68px; }.main-nav { display: none; position: absolute; left: 15px; right: 15px; top: 68px; padding: 15px; flex-direction: column; align-items: stretch; background: #11141b; border: 1px solid var(--line); border-radius: 16px; }.main-nav.open { display: flex; }.main-nav a { padding: 10px; }.nav-cta { display: none; }.menu-toggle { display: block; }
    .hero-grid { padding: 70px 0; }.hero h1 { font-size: 43px; }.hero-lead { font-size: 14px; }.hero-meta { gap: 18px; flex-wrap: wrap; }.hero-visual { transform: scale(.82); margin: -35px 0; }
    .section { padding: 75px 0; }.section-heading { display: block; }.section-heading > p { margin-top: 20px; }.service-cards.three, .stats-grid { grid-template-columns: 1fr; }
    .project-art { min-height: 260px; }.project-featured .project-art { min-height: 300px; }.mock-window { width: 76%; }.project-info h3 { font-size: 21px; }
    .page-hero { padding: 75px 0; }.page-hero h1 { font-size: 43px; }.timeline-item { grid-template-columns: 1fr; gap: 10px; }.service-row { grid-template-columns: 1fr; gap: 8px; }.service-row h2 { font-size: 26px; }
    .contact-copy h2 { font-size: 34px; }.contact-form { padding: 22px; }.footer-grid { grid-template-columns: 1fr; gap: 28px; }.footer-bottom { flex-direction: column; }
    .cta-box { padding: 35px 25px; flex-direction: column; align-items: flex-start; }
}
