/* ==========================================================================
   YOS APP - BOT CATET PENGELUARAN 
   Author: BangYos
   Style: Modern, Clean UI, Glassmorphism, Advanced AI Card Highlights
   ========================================================================== */

/* --- CSS Variables & Theme Configuration --- */
:root {
    --primary: #0088cc;
    --primary-dark: #006699;
    --primary-light: #e6f4f9;
    --secondary: #24292e;
    --accent: #2AABEE; /* Telegram Brand Color */
    --ai-gradient: linear-gradient(135deg, #FF6B6B 0%, #845EC2 100%);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px -3px rgba(0, 136, 204, 0.15), 0 4px 6px -2px rgba(0, 136, 204, 0.05);
    --shadow-ai: 0 15px 35px rgba(132, 94, 194, 0.2);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

/* --- Animated Background Shapes --- */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    transition: transform 0.1s ease-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,136,204,0.3) 0%, rgba(42,171,238,0) 70%);
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42,171,238,0.2) 0%, rgba(0,136,204,0) 70%);
}

.shape-3 {
    top: 40%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(132,94,194,0.15) 0%, rgba(255,255,255,0) 70%); /* Sentuhan ungu AI */
}

/* --- Navbar Component --- */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--secondary);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a:not(.btn-nav) {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.2);
}

/* --- Hero Section & Header --- */
.hero-section {
    padding: 100px 20px 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.8s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    color: var(--text-main);
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-section .tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* --- Call to Action Buttons --- */
.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    font-family: var(--font-heading);
}

.cta-button:active {
    transform: scale(0.96);
}

.cta-button.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 15px 30px rgba(0, 136, 204, 0.25);
    transform: translateY(-3px);
}

.cta-button.secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.cta-button.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.trusted-by {
    margin-top: 55px;
    font-size: 0.9rem;
    color: var(--text-muted);
    animation: fadeIn 1s ease-out 1s both;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--text-main);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Features Grid & Cards --- */
.features-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    background: var(--primary-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Special CSS For AI Feature Highlight (Perfeksionis Touch) --- */
.feature-card.ai-feature {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: var(--shadow-ai);
    grid-column: 1 / -1; /* Membuat AI card membentang penuh (jika layout memungkinkan) atau menonjol di baris pertama */
}

@media (min-width: 768px) {
    .feature-card.ai-feature {
        grid-column: span 2; /* AI feature memakan ruang 2 grid di layar medium/besar agar menonjol */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.feature-card.ai-feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--ai-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(132, 94, 194, 0.2);
    filter: blur(40px);
    top: -50px;
    right: -50px;
    border-radius: 50%;
    z-index: -2;
    transition: var(--transition);
}

.feature-card.ai-feature:hover .card-glow {
    background: rgba(255, 107, 107, 0.2);
    transform: scale(1.2);
}

.ai-icon {
    background: var(--ai-gradient) !important;
    color: white;
    box-shadow: 0 8px 20px rgba(132, 94, 194, 0.3);
}

.tag-new {
    background: var(--ai-gradient);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
    animation: floatBadge 3s ease-in-out infinite;
}

/* --- How it Works Section --- */
.how-it-works {
    padding: 100px 20px;
    background: linear-gradient(to bottom, transparent, rgba(0,136,204,0.02));
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 136, 204, 0.1);
    margin-bottom: 10px;
    line-height: 1;
    transition: var(--transition);
}

.step-card:hover .step-number {
    color: rgba(0, 136, 204, 0.2);
    transform: translateY(-5px);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Privacy Highlight Section --- */
.privacy-section {
    padding: 40px 20px 100px;
}

.privacy-highlight-card {
    max-width: 950px;
    margin: 0 auto;
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 28px;
    padding: 55px;
    display: flex;
    align-items: center;
    gap: 45px;
    color: white;
    box-shadow: 0 25px 50px rgba(0, 136, 204, 0.25);
    position: relative;
    overflow: hidden;
}

/* Decorative element inside privacy card */
.privacy-highlight-card::after {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.privacy-icon {
    font-size: 5.5rem;
    line-height: 1;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.25));
    position: relative;
    z-index: 2;
}

.privacy-text {
    position: relative;
    z-index: 2;
}

.privacy-text h3 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.privacy-text p {
    opacity: 0.9;
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.privacy-link {
    display: inline-block;
    color: white;
    font-weight: 600;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 4px;
    font-size: 1.05rem;
}

.privacy-link:hover {
    border-color: white;
    transform: translateX(5px);
}

/* --- Footer Components --- */
.site-footer {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 80px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 320px;
    line-height: 1.7;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.15rem;
}

.footer-links a, .footer-contact a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bot-version {
    background: var(--bg-main);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* --- Keyframe Animations --- */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes floatBadge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0px); }
}

/* --- Responsive & Mobile Optimizations --- */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .privacy-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 45px 30px;
    }
    
    .privacy-highlight-card::after {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 20px auto 0;
    }
    
    .footer-links a:hover, .footer-contact a:hover {
        transform: none;
        color: var(--primary);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}