/* style.css - Landing Page Styles */
@import url('css/theme.css');

:root {
    /* Retaining specific landing-page shadows not covered by theme */
    --gradient-light: linear-gradient(135deg, #f0f9ff, #ccfbf1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    --shadow-glow: 0 0 20px rgba(20, 184, 166, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-white);
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--bg-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

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

.logo i {
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-cta {
    padding: 0.5rem 1.25rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
    gap: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

/* Abstract Background Shapes for Hero */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero::before {
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.2);
    top: -100px;
    left: -100px;
}

.hero::after {
    width: 300px;
    height: 300px;
    background: rgba(20, 184, 166, 0.2);
    bottom: -50px;
    right: -50px;
}

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

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

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

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 320px;
    background-color: #0f172a;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 40px rgba(20, 184, 166, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    border: 1px solid #334155;
}

.phone-notch {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background-color: #0f172a;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 35px rgba(0, 188, 212, 0.2));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image img:hover {
    transform: translateY(-10px);
}

/* Rotating Text Styles */
.rotating-wrapper {
    display: inline-block;
    position: relative;
    vertical-align: top;
    color: var(--primary-color);
    overflow: hidden;
    height: 1.2em; /* Ensure it fits the line height of the h1 */
}

.rotating-text {
    display: block;
    animation: slideUpFade 0.5s ease-out forwards;
}

@keyframes slideUpFade {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--gradient-primary);
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
}

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

/* Features */
.features {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

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

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

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(20, 184, 166, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

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

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* CTA Background Elements */
.cta::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 200px;
}

.store-btn:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.store-btn i {
    font-size: 2.2rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-text strong {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.1;
}

/* Subscription Plans */
.subscription-section {
    margin-top: 4rem;
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.subscription-section h3 {
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
}

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

.plan-card {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.3);
}

.plan-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background: white;
}

.plan-card.popular {
    border-color: var(--secondary-color);
    background: white;
    box-shadow: var(--shadow-md);
}

.plan-card.popular.selected {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.plan-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.plan-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.plan-card.popular .plan-price {
    color: var(--secondary-color);
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.plan-features i {
    color: #4ade80;
}

.plan-btn {
    width: 100%;
    text-align: center;
    pointer-events: none;
}

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

/* Payment Details */
.payment-details {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.payment-details h4 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.payment-msg-en {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.payment-msg-ur {
    font-family: 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    direction: rtl;
    text-align: right;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-method {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.payment-icon {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.jazzcash-text-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    background: #f1f1f1;
    padding: 0.5rem;
    border-radius: 8px;
}

.payment-info {
    display: flex;
    flex-direction: column;
}

.payment-info strong {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

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

.upload-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px dashed var(--secondary-color);
}

.upload-btn {
    background: var(--bg-light);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.upload-btn:hover {
    background: #e6f6f4;
    border-color: var(--secondary-color);
}

.file-name {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-grow: 1;
}

.submit-receipt-btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-card {
    background: var(--bg-white);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
    display: inline-block;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-card ul {
    list-style: none;
}

.contact-card li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-card li:last-child {
    margin-bottom: 0;
}

.contact-card i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

/* Footer */
footer {
    background: var(--bg-white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-brand .logo {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .upload-section {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .submit-receipt-btn {
        width: 100%;
    }
}
