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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #dc2626;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #dc2626;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #000000;
    border: 1px solid #dc2626;
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #dc2626;
    color: #ffffff;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, #dc2626 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, #dc2626 0%, transparent 50%);
    opacity: 0.1;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #dc2626;
}

.btn-secondary:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.btn-outline:hover {
    background: #dc2626;
    color: #ffffff;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
}

/* App Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup-screen {
    width: 400px;
    height: 300px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 2px solid #333333;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mockup-header {
    background: #2a2a2a;
    padding: 1rem;
    border-bottom: 1px solid #333333;
}

.mockup-buttons {
    display: flex;
    gap: 0.5rem;
}

.mockup-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-btn.red {
    background: #ff5f56;
}

.mockup-btn.yellow {
    background: #ffbd2e;
}

.mockup-btn.green {
    background: #27ca3f;
}

.mockup-content {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 60px);
}

.typing-animation {
    font-size: 1.2rem;
    color: #ffffff;
}

.cursor {
    animation: blink 1s infinite;
    color: #dc2626;
}

/* Sections */
.features, .about, .pricing {
    padding: 6rem 0;
}

.features {
    background: #0a0a0a;
}

.about {
    background: #000000;
}

.pricing {
    background: #0a0a0a;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-description {
    color: #cccccc;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-icon {
    width: 24px;
    height: 24px;
    color: #dc2626;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: #dc2626;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.price-currency {
    font-size: 1.2rem;
    color: #dc2626;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
}

.price-period {
    color: #cccccc;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #cccccc;
}

.feature-check {
    width: 20px;
    height: 20px;
    color: #dc2626;
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid #333333;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc2626;
}

.footer-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #dc2626;
    color: #ffffff;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

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

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

/* Apply footer link styles to any anchor inside .footer-links */
.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Prevent purple for visited links */
.footer-links a:visited {
    color: #cccccc;
}

/* Hover/focus accents */
.footer-links a:hover,
.footer-links a:focus {
    color: #dc2626;
}

/* Backward compatibility for elements using the old class name */
.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #dc2626;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 1rem;
    text-align: center;
}

.footer-copyright {
    color: #666666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mockup-screen {
        width: 300px;
        height: 225px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Download Section */
.download {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 6rem 0;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

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

.download-header {
    margin-bottom: 3rem;
}

.download-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333333;
    border-radius: 20px;
    padding: 3.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
}

.download-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    transition: transform 0.3s ease;
}

.download-card:hover .download-icon {
    transform: scale(1.1);
}

.download-icon svg {
    width: 40px;
    height: 40px;
    color: #ffffff;
}

.download-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.download-description {
    color: #cccccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.download-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.download-details span {
    background: linear-gradient(145deg, #2a2a2a, #3a3a3a);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
    border: 1px solid #444444;
    transition: all 0.3s ease;
}

.download-details span:hover {
    background: linear-gradient(145deg, #3a3a3a, #4a4a4a);
    border-color: #dc2626;
    transform: translateY(-2px);
}

.download-btn {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    margin-top: 1rem;
}

.download-status {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.status-downloading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333333;
    border-top: 3px solid #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.status-downloading p {
    color: #cccccc;
    margin: 0;
}

.status-downloading a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.status-downloading a:hover {
    text-decoration: underline;
}

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

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
}

.status-complete h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.status-complete p {
    color: #cccccc;
    margin-bottom: 2rem;
}

.next-steps {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.next-steps h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.next-steps ol {
    color: #cccccc;
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Download Hero Styles */
.download-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 8rem 0 6rem;
    text-align: center;
}

.download-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.download-hero .hero-subtitle {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
}

/* App Store Info Styles */
.app-store-info {
    margin-top: 3rem;
}

.info-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333333;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
}

.info-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

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

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.benefit-text h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
}

/* Responsive adjustments for App Store info */
@media (max-width: 768px) {
    .download-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .download-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .download-card {
        padding: 2rem;
    }
    
    .download-icon {
        width: 80px;
        height: 80px;
    }
    
    .benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

/* Responsive adjustments for download section */
@media (max-width: 768px) {
    .download-card {
        padding: 2rem;
    }
    
    .download-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-title {
        font-size: 1.5rem;
    }
}
