/* Global Styles */
:root {
    --primary-color: rgb(255, 213, 35);
    --primary-dark: #e6c000;
    --secondary-color: #333333;
    --text-color: #333333;
    --light-text: #666666;
    --background: #ffffff;
    --dark-bg: #121212;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

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

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

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--background);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 50px;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

.generator-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

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

.generate-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.generate-btn:hover {
    background-color: var(--primary-dark);
}

.error-message {
    color: #dc3545;
    margin-top: 1rem;
    min-height: 20px;
    text-align: center;
}

.qr-result {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.qr-code-container {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

.qr-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.download-btn, .new-qr-btn {
    padding: 0.8rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    flex: 1;
}

.download-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.download-btn:hover:not(:disabled) {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.download-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.new-qr-btn {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.new-qr-btn:hover {
    background-color: #e9ecef;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--background);
}

.features h2, .premium h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.2rem;
}

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

.feature-card, .premium-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.feature-card:hover, .premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--border-color);
}

.feature-card i, .premium-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3, .premium-card h3 {
    margin-bottom: 1rem;
}

/* Premium Section */
.premium {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.coming-soon {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo h2 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links h3, .footer-features h3, .footer-premium h3, .footer-contact h3 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: #bdc3c7;
    transition: var(--transition);
}

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

.footer-features li, .footer-premium li {
    color: #bdc3c7;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-contact a {
    color: #bdc3c7;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* About, Contact, Privacy Pages */
.page-header {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

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

.page-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 0;
}

.page-content .container {
    max-width: 800px;
}

.contact-info {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: var(--background);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        opacity: 0;
        margin: 1.5rem 0;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .toggle .line2 {
        opacity: 0;
    }
    
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .url-input {
        border-radius: 8px 8px 0 0;
    }
    
    .generate-btn {
        border-radius: 0 0 8px 8px;
        padding: 1rem;
    }
    
    .qr-actions {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .nav-links {
        width: 70%;
    }
    
    .features h2, .premium h2 {
        font-size: 1.8rem;
    }
}
