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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background-color: #ffffff;
    font-size: 16px;
}

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

/* Header Styles */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-brand .logo {
    text-decoration: none;
}

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

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

.nav-list li a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: #dc2626;
}

.btn-dashboard {
    background-color: #dc2626;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-dashboard:hover {
    background-color: #b91c1c;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background-color: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn.active {
    background-color: #dc2626;
    border-color: #dc2626;
    color: white;
}

.action-btn:hover {
    border-color: #dc2626;
    transform: translateY(-2px);
}

.hero-form {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    background-color: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.url-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
}

.shorten-btn {
    background-color: #dc2626;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.shorten-btn:hover {
    background-color: #b91c1c;
}

.terms-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.terms-text a {
    color: #dc2626;
    text-decoration: none;
}

/* Featured Section */
.featured-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.featured-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.logo-item {
    padding: 1rem 2rem;
    background-color: white;
    border-radius: 8px;
    font-weight: 600;
    color: #6b7280;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.logo-item:hover {
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: white;
}

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

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    margin-bottom: 2rem;
}

.service-visual {
    width: 200px;
    height: 150px;
    margin: 0 auto;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.shortener-visual {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.shortener-visual .visual-content {
    background-color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: #dc2626;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.microsite-visual {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.microsite-preview {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.profile-circle {
    width: 40px;
    height: 40px;
    background-color: #fbbf24;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
}

.profile-name {
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 0.25rem;
}

.profile-title {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.social-button {
    background-color: #ec4899;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.shop-visual {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.shop-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-item {
    background-color: white;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.product-image {
    width: 100%;
    height: 30px;
    background-color: #fbbf24;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #374151;
}

.product-price {
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
}

.qr-visual {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
}

.qr-preview {
    position: relative;
}

.qr-code {
    width: 80px;
    height: 80px;
    background-color: #1a1a1a;
    border-radius: 8px;
    position: relative;
    margin: 0 auto;
}

.qr-code::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-image: 
        linear-gradient(90deg, transparent 20%, #1a1a1a 20%, #1a1a1a 40%, transparent 40%),
        linear-gradient(0deg, transparent 20%, #1a1a1a 20%, #1a1a1a 40%, transparent 40%);
    background-size: 10px 10px;
}

.qr-magnifier {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: #fbbf24;
    border-radius: 50%;
    border: 2px solid white;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.service-link:hover {
    color: #b91c1c;
}

/* Subscription Section */
.subscription-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.subscription-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 50px;
    padding: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border: none;
    background-color: transparent;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background-color: #dc2626;
    color: white;
}

.currency-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.currency-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background-color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-btn.active {
    background-color: #dc2626;
    border-color: #dc2626;
    color: white;
}

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

.plan-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
}

.plan-card.recommended {
    border: 2px solid #dc2626;
    transform: scale(1.05);
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.recommended-badge {
    background-color: #dc2626;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.plan-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.period {
    color: #6b7280;
    font-size: 1rem;
}

.discount-badge {
    background-color: #10b981;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    position: absolute;
    top: -10px;
    right: 20px;
}

.plan-features {
    text-align: left;
}

.feature {
    padding: 0.5rem 0;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.feature:last-child {
    border-bottom: none;
}

.pricing-note {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 2rem;
}

.btn-detailed {
    background-color: #dc2626;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-detailed:hover {
    background-color: #b91c1c;
}

/* Footer Styles */
.site-footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo .logo-text {
    font-size: 2rem;
    color: #dc2626;
}

.footer-description {
    margin: 1rem 0;
    font-weight: 600;
}

.footer-address {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact a {
    color: #dc2626;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-plans {
        grid-template-columns: 1fr;
    }
    
    .plan-card.recommended {
        transform: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .featured-logos {
        gap: 1rem;
    }
    
    .logo-item {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* === Fixed mini footer override === */
html, body { height: 100%; margin: 0; padding: 0; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; padding-bottom: 56px !important; } /* leave room for fixed footer */

#appFooter {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    background-color: #ffffff !important;
    color: #333 !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.2;
    padding: 6px 10px !important;
    border-top: 1px solid #e5e5e5 !important;
    z-index: 10000;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.05);
}
/* ================================== */
