/* Ibaadat Tracker - Landing Page Styles */
:root {
    /* Brand Colors */
    --primary-bg: #113f3d;
    /* Deep Teal */
    --primary-light: #185a57;
    /* Lighter Teal for hover/cards */
    --accent-gold: #cfa855;
    /* Gold */
    --accent-hover: #b89242;
    /* Darker Gold */

    --text-white: #fdfbf7;
    /* Cream White */
    --text-muted: #aabebc;
    /* Muted Teal Gray */

    --card-bg: rgba(255, 255, 255, 0.05);
    /* Glass effect */
    --card-border: rgba(255, 255, 255, 0.1);

    /* Spacing & sizing */
    --container-max: 1200px;
    --header-height: 80px;
    --radius: 12px;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    height: var(--header-height);
    background: rgba(17, 63, 61, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 85px;
    /* Increased Size */
    width: auto;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.btn-primary {
    background: var(--accent-gold);
    color: #0f3836;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--card-border);
    color: var(--text-white);
    background: transparent;
    padding: 14px 30px;
    /* Match height of btn-lg with padding compensation */
    flex-direction: row;
    align-items: center;
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-subtext {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.btn-sm.btn-download {
    background: var(--accent-gold);
    color: var(--primary-bg);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-sm.btn-download:hover {
    background: #deb866;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #1d5f5c 0%, var(--primary-bg) 60%);
}

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

.badge-new {
    display: inline-block;
    background: rgba(207, 168, 85, 0.15);
    color: var(--accent-gold);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(207, 168, 85, 0.3);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight-text {
    color: var(--accent-gold);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-gold);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    border-radius: 50%;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 250px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features */
.section-heading {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.section-sub {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

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

.features-section {
    padding: 80px 0;
}


.features-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s;
    flex: 1 1 300px;
    /* Grow, Shrink, Basis */
    max-width: 350px;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(207, 168, 85, 0.2);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.custom-icon {
    width: 36px;
    height: 36px;
    /* Colorize black icon to Gold (#cfa855) */
    filter: invert(76%) sepia(21%) saturate(996%) hue-rotate(358deg) brightness(89%) contrast(85%);
    object-fit: contain;
}

.icon-box svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    /* Inherits accent-gold */
}

.branded-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    /* Colorize to Gold to match Tasbeeh style */
    filter: invert(76%) sepia(21%) saturate(996%) hue-rotate(358deg) brightness(89%) contrast(85%);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
    /* justify-content: flex-start on desktop, center on mobile via media query if needed */
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: 0.2s;
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent-gold);
    transform: translateY(-3px);
}


/* Privacy Section */
.privacy-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.policy-block {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
}

.policy-block h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.policy-block h3 i {
    color: var(--accent-gold);
}

.policy-list li {
    list-style: none;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.policy-list li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item h4 {
    color: var(--text-white);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.highlight-danger {
    border-color: rgba(255, 99, 99, 0.3);
    background: rgba(255, 99, 99, 0.05);
}

.never-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.never-grid span {
    background: rgba(255, 0, 0, 0.1);
    color: #ffcccc;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Bug Report */
.bug-section {
    padding: 80px 0;
}

.bug-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.bug-form-card {
    background: var(--text-white);
    color: var(--primary-bg);
    padding: 40px;
    border-radius: 20px;
}

.bug-form-card h3 {
    margin-bottom: 20px;
}

.bug-form-card input,
.bug-form-card textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    font-family: inherit;
}

.full-width {
    width: 100%;
}

.support-link {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-top: 10px;
}

.support-link:hover {
    text-decoration: underline;
}

/* Footer */
.main-footer {
    padding: 60px 0 20px;
    border-top: 1px solid var(--card-border);
    margin-top: 20px;
}

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

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

.footer-brand p {
    color: var(--text-muted);
}

.footer-links h4,
.footer-legal h4 {
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-links a,
.footer-legal a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-gold);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Could add hamburger in script later */

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .bug-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}