/**
 * Vezirtech Premium Theme Custom Styling
 */

:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --primary-glow: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 60%);
    --accent-glow: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 60%);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Background elements */
#three-canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

/* Custom Nav Header */
.site-header {
    position: fixed;
    top: 20px;
    left: 5%;
    width: 90%;
    z-index: 100;
    transition: all 0.3s ease;
    border-radius: 50px !important;
    padding: 10px 30px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text span {
    color: var(--primary);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item a {
    color: var(--text-main);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.animated-gradient-text {
    background: linear-gradient(90deg, var(--text-main), var(--primary), var(--accent), var(--text-main));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-text 10s ease infinite;
}

@keyframes gradient-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

/* Glowing Interactive Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-glowing {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-apple {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-apple:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-android {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--text-main);
    border-color: rgba(var(--primary-rgb), 0.4);
    backdrop-filter: blur(10px);
}

.btn-android:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
}

.hero-graphics {
    position: relative;
    height: 500px;
    width: 100%;
}

.3d-focus-point {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* APP SHOWER SECTION */
.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.app-card {
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.app-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

.app-card-img {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.app-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover .app-card-img img {
    transform: scale(1.08);
}

.app-card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.app-card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.app-card-title a:hover {
    color: var(--accent);
}

.app-card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.app-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.app-store-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
}

.app-store-btn:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* ABOUT SECTION */
.about-section {
    padding: 100px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-card {
    padding: 30px;
    text-align: center;
    border-radius: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
}

/* SINGLE APP DETAIL PAGE */
.app-detail-header {
    padding-top: 150px;
    padding-bottom: 60px;
}

.app-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.app-detail-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.app-detail-card {
    padding: 30px;
    text-align: center;
}

.app-detail-thumb {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    margin: 0 auto 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.app-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.app-metadata {
    margin-top: 30px;
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
    text-align: left;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.meta-label {
    color: var(--text-muted);
}

.meta-value {
    font-weight: 600;
    color: var(--text-main);
}

/* POLICY & BASIC PAGES */
.page-template-main {
    padding-top: 140px;
    padding-bottom: 80px;
}

.page-hero-mini {
    margin-bottom: 40px;
}

.page-hero-mini h1 {
    font-size: 3rem;
}

.content-wrapper {
    padding: 50px;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.entry-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* FOOTER STYLING */
.site-footer {
    margin-top: 100px;
    border-top: 1px solid var(--border-glass);
    border-radius: 40px 40px 0 0 !important;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--primary);
    color: var(--text-main);
    transform: scale(1.1);
}

.footer-grid h4 {
    margin-bottom: 25px;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 12px;
}

.footer-grid ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-grid ul li a:hover {
    color: var(--text-main);
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
}

.contact-info li i {
    color: var(--accent);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .cta-buttons {
        justify-content: center;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .app-detail-grid {
        grid-template-columns: 1fr;
    }
    .app-detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .site-header {
        left: 0;
        width: 100%;
        border-radius: 0 !important;
        top: 0;
    }
    .menu-toggle {
        display: block;
    }
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(11, 15, 25, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        border-bottom: 1px solid var(--border-glass);
    }
    .main-navigation ul.active {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .content-wrapper {
        padding: 20px;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
