/* Main CSS file for Tigdes Agency */
:root {
  --primary-color: #0d1117;
  --secondary-color: #161b22;
  --accent-color: #58a6ff;
  --accent-glow: rgba(88, 166, 255, 0.4);
  --text-main: #c9d1d9;
  --text-muted: #8b949e;
  --glass-bg: rgba(22, 27, 34, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--primary-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

/* Header & Nav */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1.5rem 0; transition: all 0.3s ease;
}
header.scrolled {
    background: rgba(13, 17, 23, 0.9); backdrop-filter: blur(10px);
    padding: 1rem 0; border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: -1px; text-decoration: none; }
.logo span { color: var(--accent-color); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-main); font-weight: 500; }
.nav-links a:hover { color: var(--text-main); text-shadow: 0 0 8px var(--accent-glow); }

.menu-toggle { display: none; font-size: 1.8rem; color: var(--text-main); cursor: pointer; transition: color 0.3s; }
.menu-toggle:hover { color: var(--accent-color); }

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.btn-primary { background: var(--accent-color); color: #fff; border: none; }
.btn-primary:hover { background: #478dd6; box-shadow: 0 4px 15px var(--accent-glow); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--glass-border); color: #fff; }
.btn-outline:hover { background: var(--glass-bg); }

/* Hero */
.hero { padding: 180px 0 100px; text-align: center; position: relative; overflow: hidden; }
.glow-circle {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(88,166,255,0.15) 0%, rgba(13,17,23,0) 70%);
    top: -100px; left: 50%; transform: translateX(-50%); z-index: -1; pointer-events: none;
}
.hero-title {
    font-size: 4rem; margin-bottom: 1.5rem; letter-spacing: -1.5px;
    background: linear-gradient(to right, #ffffff, #8b949e);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 3rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; }

/* Inner Pages specific */
.inner-hero {
    padding: 150px 0 80px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(88,166,255,0.1) 0%, #0d1117 70%);
    border-bottom: 1px solid var(--glass-border);
}
.page-badge { display: inline-block; padding: 5px 15px; border-radius: 20px; background: rgba(88,166,255,0.1); color: var(--accent-color); border: 1px solid var(--accent-color); margin-bottom: 1rem; font-weight: 600;}
.img-showcase { width: 100%; max-width: 900px; margin: 40px auto 0; border-radius: 16px; border: 1px solid var(--glass-border); box-shadow: 0 20px 40px rgba(0,0,0,0.5); display: block; }
.omni-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Mockup Container */
.mockup-container { margin-top: 4rem; position: relative; max-width: 1000px; margin-left: auto; margin-right: auto; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.appear { opacity: 1; transform: translateY(0); }


/* Base Styles */
h1, h2, h3, h4 {
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-shadow: 0 0 8px var(--accent-glow);
}

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

/* Sections */
.section-padding { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h2 { font-size: 2.5rem; margin-bottom: 1rem; color: #fff; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 1px var(--accent-color); }
.feature-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #205cba);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; margin-bottom: 1.5rem;
}
.feature-card h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Solutions Grid */
.solutions { background-color: #0b0f14; }
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.solution-card {
    background: #0d1117;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.solution-card:hover { border-color: var(--accent-color); }
.solution-card .badge {
    position: absolute; top: 1rem; right: 1rem;
    background: #161b22; font-size: 0.75rem; text-transform: uppercase;
    padding: 0.25rem 0.75rem; border-radius: 20px; color: var(--text-muted); border: 1px solid var(--glass-border);
}
.solution-card h3 { margin-bottom: 1rem; margin-top: 1rem; font-size: 1.5rem; }
.solution-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.learn-more { color: var(--accent-color); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.learn-more:hover { text-shadow: none; gap: 0.8rem; }

/* CTA Section */
.cta-section { padding: 100px 0; background: linear-gradient(to bottom, #0d1117, #0b0f14); }
.demo-form {
    max-width: 800px; margin: 0 auto; padding: 1rem;
    display: flex; gap: 1rem; border-radius: 60px;
    background: var(--glass-bg); align-items: center;
    border: 1px solid var(--glass-border);
}
.demo-form input {
    flex: 1; min-width: 0; background: transparent; border: none; outline: none;
    color: #fff; padding: 1rem 1.5rem; font-family: inherit; font-size: 1rem;
}
.demo-form input::placeholder { color: var(--text-muted); }
.demo-form .btn { border-radius: 50px; padding: 1rem 2.5rem; white-space: nowrap; }

/* Footer */
footer { border-top: 1px solid var(--glass-border); padding-top: 5rem; background: #0b0f14; }
.footer-content { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { color: var(--text-muted); margin: 1.5rem 0; font-size: 0.95rem; }
.socials { display: flex; gap: 1rem; }
.socials a {
    width: 40px; height: 40px; border-radius: 50%; background: #161b22;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main); border: 1px solid var(--glass-border);
}
.socials a:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.link-group h4 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.link-group a { display: block; color: var(--text-muted); margin-bottom: 0.8rem; font-size: 0.95rem; }
.link-group a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; padding: 2rem 0; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.9rem; }

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Menu Navigation */
    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed; top: 0; left: -100%; width: 100%; height: 100vh;
        background: rgba(13, 17, 23, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 2.5rem; transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1); z-index: 999;
    }
    .nav-links.active { left: 0; }
    .nav-links a { font-size: 1.5rem; }

    /* Layout & Spacing */
    .section-padding { padding: 60px 0; }
    .hero { padding: 120px 0 40px; }
    .inner-hero { padding: 100px 0 40px; }
    .hero-title { font-size: 2.3rem; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .section-head h2 { font-size: 1.8rem; }
    
    /* Elements */
    .mockup-main { transform: none; margin: 1rem 0; }
    .img-showcase { margin: 20px auto 0; width: 100%; }
    .demo-form { flex-direction: column; border-radius: 12px; background: transparent; border: none; padding: 0; }
    .demo-form input { width: 100%; border-radius: 8px; border: 1px solid var(--glass-border); background: var(--glass-bg); margin-bottom: 1rem; }
    .demo-form .btn { width: 100%; border-radius: 8px; }
    
    /* Grids */
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .omni-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    /* WhatsApp */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 32px;
}
.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: translateY(-5px) scale(1.05);
    color: #fff;
    box-shadow: 0px 6px 25px rgba(37, 211, 102, 0.6);
}
