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

:root {
    --bg: #07070f;
    --surface: #101021;
    --card: #15152d;
    --border: rgba(255,255,255,0.08);
    --a1: #c084fc;
    --a2: #f472b6;
    --a3: #818cf8;
    --text: #ffffff;        /* Brighter white for better readability */
    --muted: #b5b0d0;       /* Lighter muted color to reduce eye strain */
    --grad: linear-gradient(135deg, #c084fc, #f472b6);
    --font-d: 'Syne', sans-serif;
    --font-b: 'DM Sans', sans-serif;
    --radius: 1.5rem;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 17px;        /* Increased base font size */
    line-height: 1.7;
    overflow-x: hidden;
}

/* Noise Grain Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

.glow-bg {
    position: fixed; width: 600px; height: 600px;
    border-radius: 50%; filter: blur(120px);
    z-index: -1; opacity: 0.15;
}
.glow-1 { top: -100px; left: -100px; background: var(--a1); }
.glow-2 { bottom: -100px; right: -100px; background: var(--a2); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-d); font-weight: 700; color: #ffffff; }
a { color: var(--text); text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.text-gradient {
    background: linear-gradient(90deg, #ff007f, #7f00ff, #00d4ff, #ff007f);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: color-shift 6s ease-in-out infinite alternate;
    font-weight: bold;
}

@keyframes color-shift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
nav {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(7,7,15,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); z-index: 1000; padding: 15px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; }
.nav-links { display: flex; gap: 15px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; padding: 8px 16px; border-radius: 50px; }
.nav-links a:hover, .nav-links a.active { background: var(--surface); color: var(--a1); }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: var(--text); }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: 50px;
    font-weight: 600; font-size: 1.05rem; cursor: pointer; border: none; transition: 0.3s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(192, 132, 252, 0.5); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--a1); background: var(--surface); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Section & Headers */
section { padding: 100px 0; }
.page-header { padding-top: 150px; padding-bottom: 50px; text-align: center; }
.page-header h1 { font-size: 3rem; margin-bottom: 15px; }
.page-header p { color: var(--muted); font-size: 1.15rem; max-width: 700px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }

/* Hero Section */
.hero { padding-top: 180px; padding-bottom: 100px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.availability {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--surface); padding: 8px 20px; border-radius: 50px;
    border: 1px solid var(--border); font-size: 0.9rem; font-weight: 500; margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 15px; }
.hero .roles { font-size: 1.25rem; color: var(--muted); margin-bottom: 25px; font-weight: 500; }
.hero .desc { font-size: 1.15rem; color: var(--muted); margin-bottom: 40px; max-width: 90%; }
.hero-btns { display: flex; gap: 15px; }
.hero-image-wrap { position: relative; width: 350px; height: 420px; margin: 0 auto; }
.hero-img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; position: relative; z-index: 2; border: 1px solid var(--border); }
.ring { position: absolute; border-radius: 35px; border: 1px dashed var(--a1); opacity: 0.5; z-index: 1; }
.ring-1 { top: -20px; left: -20px; right: -20px; bottom: -20px; animation: rotate 20s linear infinite; }
.ring-2 { top: -40px; left: -40px; right: -40px; bottom: -40px; border-color: var(--a2); animation: rotate 30s linear infinite reverse; }
@keyframes rotate { 100% { transform: rotate(360deg); } }
.stats-badge {
    position: absolute; bottom: 20px; right: -30px;
    background: rgba(18,18,42,0.9); backdrop-filter: blur(10px);
    border: 1px solid var(--border); padding: 15px 20px; border-radius: 20px; z-index: 3; text-align: center;
}
.stats-badge h3 { font-size: 1.5rem; color: var(--a1); margin-bottom: 5px; }
.stats-badge p { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* About Page Elements */
.about-hero { text-align: center; margin-bottom: 60px; }
.about-hero h2 { font-size: 2.2rem; margin-bottom: 20px; }
.about-text { font-size: 1.15rem; color: var(--muted); max-width: 800px; margin: 0 auto 30px; line-height: 1.8; }

/* Timeline (Pure CSS) */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.timeline::before {
    content: ''; position: absolute; top: 0; left: 20px; height: 100%; width: 2px;
    background: var(--border);
}
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 40px; }
.timeline-dot {
    position: absolute; left: 14px; top: 5px; width: 14px; height: 14px;
    background: var(--a1); border-radius: 50%;
    box-shadow: 0 0 10px var(--a1);
}
.timeline-item h4 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text); }
.timeline-item p { color: var(--muted); font-size: 1.1rem; }

/* About Stats Row */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 60px 0; text-align: center; }
.stat-box { background: var(--surface); border: 1px solid var(--border); padding: 40px 20px; border-radius: var(--radius); }
.stat-box h3 { font-size: 3rem; margin-bottom: 10px; }
.stat-box p { color: var(--muted); font-size: 1rem; font-weight: 500; }

/* Closing Note */
.closing-note {
    max-width: 800px; margin: 60px auto 0; padding: 30px 40px;
    border-left: 4px solid var(--a1); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic; color: var(--muted); font-size: 1.15rem; line-height: 1.8;
}
.closing-note strong { display: block; margin-top: 20px; color: var(--text); font-style: normal; }

/* Grid Sections */
.grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
    background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.grid-item { background: var(--surface); padding: 40px; transition: 0.3s; }
.grid-item:hover { background: var(--card); }
.grid-item i { font-size: 2rem; color: var(--a2); margin-bottom: 20px; }
.grid-item h3 { font-size: 1.25rem; margin-bottom: 10px; }
.grid-item p { color: var(--muted); font-size: 1.05rem; }

/* Services Page Cards */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--a1); }
.ghost-num { position: absolute; top: 10px; right: 20px; font-size: 5rem; font-family: var(--font-d); font-weight: 800; color: rgba(255,255,255,0.02); z-index: 0; }
.service-card i, .service-card h3, .service-card p, .service-tag { position: relative; z-index: 1; }
.service-card i { font-size: 2rem; color: var(--a1); margin-bottom: 20px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 15px; }
.service-card p { color: var(--muted); font-size: 1.05rem; margin-bottom: 20px; }
.service-tag { display: inline-block; padding: 6px 14px; background: rgba(255,255,255,0.08); border-radius: 50px; font-size: 0.85rem; color: #fff; font-weight: 500; }

/* Marquee & Works */
.marquee-wrap { width: 100%; overflow: hidden; position: relative; padding: 20px 0; }
.marquee-content { display: flex; width: max-content; animation: marquee 40s linear infinite; gap: 30px; }
.marquee-content:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.work-card { width: 340px; background: var(--card); border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); transition: 0.3s; }
.work-card:hover { border-color: var(--a2); }
.work-card img { width: 100%; height: 190px; object-fit: cover; }
.work-info { padding: 20px; }
.work-info h4 { font-size: 1.1rem; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.work-info a { color: var(--a1); font-size: 0.95rem; font-weight: 600; }

/* AI Tools Marquee (Updated for readability) */
.tool-chip {
    display: flex; align-items: center; gap: 15px;
    background: var(--surface); border: 1px solid var(--border);
    padding: 15px 25px; border-radius: 50px;
    transition: 0.3s;
}
.tool-chip:hover { border-color: var(--a3); background: var(--card); transform: translateY(-3px); }
.tool-chip img { width: 35px; height: 35px; object-fit: contain; }
.tool-chip span { font-size: 1.1rem; color: var(--text); font-weight: 600; letter-spacing: 0.5px; }

/* Fade-in Trusted By */
.trusted-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 50px; margin-top: 30px; }
.trusted-grid img { height: 50px; filter: grayscale(100%) opacity(0.6); transition: 0.3s; }
.trusted-grid img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }

/* Projects Page */
.project-row { margin-bottom: 60px; }
.row-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.row-header h3 { font-size: 1.6rem; color: var(--a1); }
.project-cards-strip { display: flex; gap: 25px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--a1) var(--surface); }
.project-cards-strip::-webkit-scrollbar { height: 8px; }
.project-cards-strip::-webkit-scrollbar-thumb { background: var(--a1); border-radius: 10px; }

/* Google Sheet Alert */
.gs-alert { background: rgba(192, 132, 252, 0.1); border: 1px solid var(--a1); padding: 20px; border-radius: 10px; margin-bottom: 40px; color: var(--text); }
.gs-alert a { color: var(--a2); text-decoration: underline; font-weight: bold; }

/* Pricing Page */
.pricing-calculator { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 50px; max-width: 800px; margin: 0 auto 80px auto; }
.location-toggle { display: flex; background: var(--surface); border-radius: 50px; padding: 5px; margin-bottom: 40px; }
.loc-btn { flex: 1; text-align: center; padding: 15px 0; border: none; background: none; color: var(--muted); font-weight: 600; font-size: 1.05rem; cursor: pointer; border-radius: 50px; transition: 0.3s; }
.loc-btn.active { background: var(--grad); color: #fff; }
.calc-group { margin-bottom: 30px; }
.calc-group label { display: block; margin-bottom: 12px; font-weight: 600; color: var(--muted); }
.calc-select { width: 100%; padding: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 10px; font-family: var(--font-b); font-size: 1.05rem; appearance: none; }
.calc-select:focus { outline: none; border-color: var(--a1); }
.slider-container { display: flex; align-items: center; gap: 20px; }
.calc-slider { flex: 1; -webkit-appearance: none; background: var(--surface); height: 8px; border-radius: 5px; outline: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--a1); cursor: pointer; }
.duration-val { font-weight: 700; font-size: 1.1rem; min-width: 90px; text-align: right; }
.calc-result { text-align: center; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.calc-result h3 { font-size: 1.3rem; color: var(--muted); margin-bottom: 15px; }
.price-display { font-size: 3.5rem; font-family: var(--font-d); font-weight: 800; color: var(--a1); margin-bottom: 15px; }
.pricing-note { font-size: 1rem; color: var(--muted); margin-bottom: 25px; }

/* Pricing Table */
.pricing-table-wrap { overflow-x: auto; }
.pricing-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.pricing-table th, .pricing-table td { padding: 25px; text-align: left; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
.pricing-table th { background: var(--surface); font-family: var(--font-d); font-weight: 700; color: #fff; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info h3 { font-size: 2rem; margin-bottom: 25px; }
.info-block { margin-bottom: 35px; }
.info-block h4 { font-size: 1rem; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.info-block p { font-size: 1.2rem; }
.social-links-contact { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 15px; }
.social-links-contact a { display: flex; align-items: center; gap: 10px; background: var(--surface); padding: 12px 25px; border-radius: 50px; border: 1px solid var(--border); font-weight: 500; }
.social-links-contact a:hover { border-color: var(--a2); background: var(--card); }
#email-display { display: none; font-size: 1.3rem; font-weight: 600; color: var(--a1); margin-top: 15px; }
.contact-form { background: var(--card); padding: 50px; border-radius: var(--radius); border: 1px solid var(--border); }
.form-group { margin-bottom: 25px; }
.form-control { width: 100%; padding: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 10px; font-family: var(--font-b); font-size: 1.05rem; }
.form-control:focus { outline: none; border-color: var(--a1); }
textarea.form-control { resize: vertical; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 60px 0 30px 0; text-align: center; margin-top: 50px; }
.footer-logo { font-size: 2.5rem; margin-bottom: 15px; }
.footer-sub { color: var(--muted); margin-bottom: 35px; font-size: 1.1rem; }
.footer-social { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.footer-social a { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; font-size: 1.3rem; transition: 0.3s; }
.footer-social a:hover { background: var(--a1); color: #fff; border-color: var(--a1); transform: translateY(-3px); }
.footer-nav { display: flex; justify-content: center; gap: 25px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-nav a { font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.footer-nav a:hover { color: var(--text); }
.copyright { font-size: 0.95rem; color: rgba(255,255,255,0.4); }

/* Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; text-align: center; padding: 20px 0; }
    .nav-links.show { display: flex; }
    .hamburger { display: block; }
}
@media (max-width: 768px) {
    .hero .container, .contact-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 120px; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-image-wrap { margin-top: 50px; width: 300px; height: 360px; }
    .grid-3, .services-grid, .stats-row { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 2.2rem; }
}
