:root {
    --bg-dark: #0a0512;
    --card-bg: #130c22;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #2e1f47;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

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

.text-center { text-align: center; }

/* Grid Utilities */
.grid {
    display: grid;
    gap: 2.5rem;
}
.col-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Header Navigation Styling */
header {
    background: rgba(10, 5, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--text-main);
}

.logo span {
    background: linear-gradient(to right, var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 2rem;
    transition: 0.3s;
    font-weight: 600;
    font-size: 0.95rem;
}

nav a:hover { color: var(--text-main); }

.nav-btn {
    border: 1px solid var(--accent-purple);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: var(--text-main);
}

.nav-btn:hover {
    background: var(--accent-purple);
}

/* Buttons & Badges */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--accent-purple), var(--accent-pink));
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Section Styling */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.hero-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(to right, #a78bfa, var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.hero-actions .btn { margin: 0 0.5rem; }

/* Portfolio Track Cards */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 3rem;
    text-align: center;
}

.portfolio-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    transition: 0.3s;
}

.portfolio-card:hover { border-color: var(--accent-purple); }

.card-icon {
    font-size: 2rem;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
}

.portfolio-card h3 { margin-bottom: 1rem; }
.portfolio-card p { color: var(--text-muted); line-height: 1.5; }

/* Pricing Architecture Structure */
.package-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card.featured {
    border: 2px solid var(--accent-purple);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
}

.tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-pink);
    text-transform: uppercase;
}

.standard-tag { color: var(--accent-purple); }

.package-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.package-card .desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; min-height: 45px;}
.package-card .price { font-size: 3rem; font-weight: 800; margin-bottom: 2rem; }

.features { list-style: none; margin-bottom: 2.5rem; margin-top: auto;}
.features li { margin-bottom: 1rem; font-size: 0.95rem; display: flex; align-items: center; gap: 0.75rem;}
.features i { color: #10b981; }

.btn-buy {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: white;
    width: 100%;
}
.btn-buy:hover { background: white; color: black; }

/* Interactive Add-on Widget */
.addons-wrapper {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}
.addons-wrapper h4 { font-size: 0.85rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.addon-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; margin-bottom: 0.5rem; cursor: pointer;}
.addon-item input { accent-color: var(--accent-purple); }

/* Slide-out Inquiry Drawer CSS Mechanics */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 2, 9, 0.7);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.inquiry-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: #0f0a1c;
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 999;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.drawer-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
}

.close-drawer-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-drawer-btn:hover {
    color: var(--accent-pink);
}

.drawer-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-purple);
}

.form-group .readonly-input {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    font-weight: 600;
    cursor: not-allowed;
}

.submit-form-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
}

/* Custom Individual Branding Colors for Social Links */
footer { background: #050209; border-top: 1px solid var(--border-color); padding: 4rem 0; }
.contact-links { display: flex; justify-content: center; gap: 2rem; margin: 2rem 0; flex-wrap: wrap;}

.social-link { 
    text-decoration: none; 
    font-weight: 600; 
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.whatsapp-color {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}
.whatsapp-color:hover {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.instagram-color {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border: 1px solid rgba(225, 48, 108, 0.3);
}
.instagram-color:hover {
    background: linear-gradient(45deg, #f09433, #e1306c, #bc1888);
    color: #fff;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.email-color {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.email-color:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.copy { font-size: 0.85rem; color: var(--text-muted); }

/* Custom Success Popup Mechanics */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 2, 9, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-popup {
    background: #0f0a1c;
    border: 2px solid var(--accent-purple);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-overlay.active .success-popup {
    transform: scale(1);
}

.success-icon {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.success-popup h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.success-popup p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.close-success-btn {
    width: 100%;
    padding: 0.85rem;
}

/* High-End Interactive FAQ Mechanics */
.faq-section {
    background: rgba(10, 5, 18, 0.5);
    border-top: 1px solid var(--border-color);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.faq-toggle {
    color: var(--accent-purple);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.15);
}

.faq-answer p {
    padding: 0 1.8rem 1.8rem 1.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active Open Toggle States */
.faq-item.open {
    border-color: var(--accent-purple);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-pink);
}

.faq-item.open .faq-answer {
    max-height: 1000px; /* Large enough fallback space for paragraph height text expansion */
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Premium Mobile Header Architecture Patch */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1rem;
        text-align: center;
    }
    
    nav {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    nav a {
        margin-right: 0;
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }

    .nav-btn {
        padding: 0.4rem 1rem;
    }
    
    .hero {
        padding-top: 13rem; /* Prevents text from slipping behind the mobile header menu stack */
    }
}
/* High-End Portfolio Certificate Showcase Layout */
.cert-display-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-display-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.1);
}

.cert-image-wrapper {
    width: 100%;
    aspect-ratio: 1.414 / 1; /* Matches strict landscape A4 proportions */
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.cert-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cert-display-card:hover .cert-preview-img {
    transform: scale(1.03); /* Clean zoom effect on mouse hover */
}

.cert-meta {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cert-meta h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator {
    font-size: 0.75rem;
    font-weight: 800;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
