@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0b4a3b;
    --primary-light: #167a63;
    --primary-dark: #052920;
    --accent-gold: #d4af37;
    --accent-gold-light: #f3e5ab;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #ffffff;
    --bg-main: #f8fcfb;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --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 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius-lg: 16px;
    --radius-md: 12px;
    
    --font-urdu: 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;
    --font-english: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-urdu);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary-dark);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

a:hover {
    color: var(--accent-gold);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

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

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
}

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

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-main) 0%, #e6f2ee 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-image {
    flex: 1;
    text-align: left;
}

.hero-image img {
    max-width: 320px; /* Constrained size so it looks like a phone */
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
    display: block;
    margin: 0 auto; /* Center in its container */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(11, 74, 59, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 74, 59, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 12px;
    display: block;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Info Pages (Privacy, Terms) */
.page-header {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0;
    font-size: 2.5rem;
}

.content-section {
    padding: 4rem 0;
    background: white;
}

.content-box {
    background: var(--bg-main);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.content-box h2 {
    margin-top: 2rem;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.content-box ul {
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.content-box li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-brand h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-family: var(--font-english);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none; /* simple mobile approach */
    }
    
    .content-box {
        padding: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-image img {
        max-width: 220px;
    }

    .screenshot-img {
        max-width: calc(50% - 0.5rem); /* 2 columns on mobile */
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .screenshot-img {
        max-width: 100%; /* 1 column on very small screens */
    }
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 0;
    background: var(--bg-main);
}

.screenshots-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.screenshot-img {
    width: 100%;
    max-width: 240px; /* Control max size of screenshots */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.screenshot-img:hover {
    transform: translateY(-10px); /* Better hover effect */
    box-shadow: var(--shadow-lg);
}

