/* ============================================
   Webfurious Designs — main.css
   Shared styles for all pages
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #060910; color: #e2e8f0; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.accent { color: #60a5fa; }
.accent-gold { color: #f6c90e; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; background: #2b6cb0; color: #fff; border-radius: 10px; font-weight: 700; font-size: 0.92rem; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(43,108,176,0.35); }
.btn-primary:hover { background: #3182ce; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(43,108,176,0.5); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; background: transparent; color: #e2e8f0; border-radius: 10px; font-weight: 700; font-size: 0.92rem; border: 1px solid rgba(255,255,255,0.15); transition: all 0.3s ease; }
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn-outline-blue { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; background: transparent; color: #60a5fa; border-radius: 10px; font-weight: 700; font-size: 0.92rem; border: 1px solid rgba(96,165,250,0.3); transition: all 0.3s ease; }
.btn-outline-blue:hover { background: rgba(96,165,250,0.08); border-color: rgba(96,165,250,0.5); transform: translateY(-2px); }

/* Top Bar */
.top-bar { background: #030508; border-bottom: 1px solid rgba(255,255,255,0.04); padding: 8px 0; font-size: 0.8rem; color: #4a5568; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 16px; }
.top-bar-right a { color: #4a5568; font-size: 1rem; transition: color 0.2s; }
.top-bar-right a:hover { color: #60a5fa; }

/* Header */
.site-header { background: rgba(6,9,16,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); position: sticky; top: 0; z-index: 1000; transition: all 0.3s ease; }
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo img { height: 55px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: #94a3b8; font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: all 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active { color: #60a5fa; background: rgba(96,165,250,0.08); }
.nav-links .nav-cta { background: #2b6cb0; color: #fff; padding: 9px 18px; border-radius: 8px; font-weight: 600; margin-left: 8px; transition: all 0.2s; }
.nav-links .nav-cta:hover { background: #3182ce; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.1); color: #e2e8f0; font-size: 1.2rem; cursor: pointer; padding: 8px 12px; border-radius: 8px; }
.mobile-nav { display: none; flex-direction: column; background: #0d1117; border-top: 1px solid rgba(255,255,255,0.06); padding: 10px 0; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 24px; color: #94a3b8; font-weight: 500; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.04); transition: all 0.2s; }
.mobile-nav a:hover { color: #60a5fa; background: rgba(96,165,250,0.05); }

/* Section helpers */
.section-tag { display: inline-block; padding: 5px 14px; background: rgba(96,165,250,0.08); border: 1px solid rgba(96,165,250,0.15); border-radius: 99px; color: #60a5fa; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-size: 2.8rem; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.1; }
.section-subtitle { color: #94a3b8; font-size: 1.05rem; max-width: 540px; line-height: 1.7; margin-bottom: 60px; }

/* Page Hero (inner pages) */
.page-hero { padding: 80px 0 60px; position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.05); }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(43,108,176,0.1) 0%, transparent 60%), linear-gradient(180deg, #060910 0%, #0a0f1a 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-content { max-width: 700px; }
.page-hero h1 { font-size: 3rem; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 16px; }
.page-hero p { color: #94a3b8; font-size: 1.1rem; line-height: 1.7; max-width: 550px; }

/* Story section */
.story-section { padding: 100px 0; background: #060910; }
.story-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: start; }
.story-content p { color: #94a3b8; line-height: 1.8; margin-bottom: 16px; font-size: 1rem; }
.story-sidebar { display: flex; flex-direction: column; gap: 20px; }
.about-card { padding: 24px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; transition: all 0.3s; }
.about-card:hover { border-color: rgba(96,165,250,0.2); background: rgba(255,255,255,0.04); }
.about-card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.about-card h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.about-card p { color: #64748b; font-size: 0.88rem; line-height: 1.5; }

/* Skills */
.skills-section { padding: 80px 0; background: #080c14; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.skill-item { padding: 24px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; transition: all 0.3s; }
.skill-item:hover { border-color: rgba(96,165,250,0.2); background: rgba(255,255,255,0.04); transform: translateY(-3px); }
.skill-item i { font-size: 1.8rem; color: #60a5fa; }
.skill-item span { color: #94a3b8; font-size: 0.88rem; font-weight: 500; }

/* CTA Section */
.cta-section { padding: 100px 0; background: #060910; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(43,108,176,0.1) 0%, transparent 70%); }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: 3rem; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 20px; }
.cta-inner p { color: #94a3b8; font-size: 1.1rem; line-height: 1.7; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #030508; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { padding: 70px 0 50px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { color: #4a5568; font-size: 0.88rem; line-height: 1.6; max-width: 260px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #4a5568; font-size: 0.9rem; transition: all 0.2s; }
.footer-social a:hover { background: rgba(96,165,250,0.1); border-color: rgba(96,165,250,0.3); color: #60a5fa; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col a { display: block; color: #4a5568; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #94a3b8; }
.footer-col p { color: #4a5568; font-size: 0.88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: #2d3748; font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #2d3748; font-size: 0.82rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #4a5568; }
.payment-icons { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.payment-icons img { height: 22px; width: auto; opacity: 0.5; }

/* Modal */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; justify-content: center; align-items: center; cursor: pointer; backdrop-filter: blur(10px); }
.modal.open { display: flex; }
.modal img { max-width: 90vw; max-height: 90vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,0.8); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-ring { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.02); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .story-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .top-bar-left { display: none; }
    .section-title { font-size: 2rem; }
    .page-hero h1 { font-size: 2.2rem; }
    .cta-inner h2 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}