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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 46.7208px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.navbar-logo:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3ccabc 0%, #35a9bd 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem 0;
}

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

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Changing the button primary background */
.btn-primary {
    background: #02777a;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* Changing app header background */
.app-header {
    text-align: center;
    padding: 10px;
    background: #02777a;
    color: white;
}

.app-logo {
    height: 31.5px; /* Adjust as needed */
    width: auto;
    object-fit: contain;
}

/* Changing notification item active border */
.notification-item.active {
    border-left: 4px solid #02777a;
}

/* Changing btn-claim background */
.btn-claim {
    background: #02777a;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* Changing feature card hover border color */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #02777a;
}

/* Changing feature icon location background */
.feature-icon.location { background: #02777a; }

/* Changing tab button active background */
.tab-btn.active {
    background: #02777a;
}

/* Changing demo icon color */
.demo-icon {
    font-size: 3rem;
    color: #02777a;
    margin-bottom: 1rem;
}

/* Changing step number background */
.step-number {
    width: 40px;
    height: 40px;
    background: #02777a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Changing form control focus border and box-shadow */
.form-control:focus {
    background: #1a1a1a;
    border-color: #02777a;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

/* Changing coupon design border */
.coupon-design {
    border: 2px dashed #02777a;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

/* Changing discount badge background */
.discount-badge {
    background: #02777a;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Changing scroll progress bar background */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #02777a;
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Changing form control focus box-shadow */
.form-control:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

/* Changing features section before background */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #02777a, transparent);
}

/* Changing step item hover box-shadow */
.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Changing gradient text background */
.gradient-text {
    background: #02777a;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Changing scrollbar thumb background */
::-webkit-scrollbar-thumb {
    background: #02777a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #02777a;
}

/* Changing language dropdown hover and focus background */
.language-dropdown .dropdown-item:hover {
    background: #02777a;
    color: white;
    transform: translateX(5px);
}

.language-dropdown .dropdown-item:focus {
    background: #02777a;
    color: white;
}

.notification-item.active {
    border-left: 4px solid #02777a;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.notification-icon.coffee { background: #8B4513; }
.notification-icon.pizza { background: #02777a; }
.notification-icon.spa { background: #9370DB; }

.notification-content {
    flex: 1;
}

.notification-content h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
    font-size: 14px;
}

.notification-content p {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #666;
}

.notification-content small {
    font-size: 11px;
    color: #999;
}

.btn-claim {
    background: #02777a;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Features Section */
.features-section {
    background: #1a1a1a;
    color: white;
    padding: 100px 0;
}

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

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #02777a;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 24px;
    color: white;
}

.feature-icon.location { background: linear-gradient(45deg, #056468, #268d89); }
.feature-icon.exclusive { background: linear-gradient(45deg, #4ecdc4, #44a08d); }
.feature-icon.growth { background: linear-gradient(45deg, #45b7d1, #96c93d); }
.feature-icon.easy { background: linear-gradient(45deg, #02777a, #012d2e); }
.feature-icon.discover { background: linear-gradient(45deg, #4facfe, #00f2fe); }
.feature-icon.analytics { background: linear-gradient(45deg, #43e97b, #38f9d7); }

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

.feature-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    background: #1a1a1a;
    color: white;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.how-it-works-section .tab-content {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
}

.how-it-works-section .tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.how-it-works-section .tab-pane.active {
    opacity: 1;
    transform: translateY(0);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    background: #2a2a2a;
    border-radius: 50px;
    padding: 8px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    font-size: 0.95rem;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: #02777a;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(2, 119, 122, 0.3);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    outline: none;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.tab-btn.active {
    background: #02777a;
    color: white;
    font-weight: 600;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}
.tab-btn.active {
    background: linear-gradient(45deg, #02777a, #268d89);
}

.demo-phone {
    display: flex;
    justify-content: center;
}

.demo-screen {
    width: 250px;
    height: 400px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.demo-content {
    text-align: center;
    padding: 2rem;
}

.demo-icon {
    font-size: 3rem;
    color: #02777a;
    margin-bottom: 1rem;
}

.steps-list {
    padding-left: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #02777a, #268d89);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    opacity: 0.8;
    margin: 0;
}

/* Coupon Generator */
.auth-container {
    padding: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.auth-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.auth-form .form-label {
    color: var(--text-color);
    font-weight: 500;
}

.auth-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 0.75rem 1rem;
}

.auth-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(2, 119, 122, 0.25);
}

.auth-form .form-check-label {
    color: var(--text-color);
}

.auth-form .btn-primary {
    background: linear-gradient(45deg, #02777a, #268d8d);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s;
}

.auth-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.auth-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    background: #1a1a1a;
    border: 1px solid #444;
    color: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 1rem;
}

.form-control:focus {
    background: #1a1a1a;
    border-color: #02777a;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

.form-control::placeholder {
    color: #888;
}

.ai-generated-content {
    background: #1a1a1a;
    border: 2px dashed #444;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tab-buttons {
        flex-direction: column;
        max-width: 200px;
    }

    .steps-list {
        padding-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        text-align: center;
    }

    .phone-mockup {
        display: block;
    }

    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Additional Styles */
.generated-coupon {
    text-align: center;
}

.coupon-preview {
    background: white;
    color: #333;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem 0;
}

.coupon-design {
    border: 2px dashed #02777a;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.discount-badge {
    background: #02777a;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
}

.coupon-code {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    font-weight: bold;
    margin-top: 1rem;
    border: 1px solid #dee2e6;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.feature-icon {
    animation: float 3s ease-in-out infinite;
}

.feature-icon.location { animation-delay: 0s; }
.feature-icon.exclusive { animation-delay: 0.5s; }
.feature-icon.growth { animation-delay: 1s; }
.feature-icon.easy { animation-delay: 1.5s; }
.feature-icon.discover { animation-delay: 2s; }
.feature-icon.analytics { animation-delay: 2.5s; }

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Enhanced button styles */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(45deg, #02777a, #268d89);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Enhanced form styles */
.form-control:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

/* Mobile app preview enhancement */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.phone-frame::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
}

/* Notification pulse effect */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.notification-item.active {
    animation: pulse 2s ease-in-out infinite;
}

/* Section dividers */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #02777a, transparent);
}

/* Enhanced hover effects */
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(45deg, #02777a, #268d89);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #02777a, #268d89);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #02777a, #268d89);
}

/* Language Dropdown Styles */
.language-dropdown {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #444;
    border-radius: 8px;
    min-width: 150px;
}

.language-dropdown .dropdown-item {
    color: white;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 2px;
}

.language-dropdown .dropdown-item:hover {
    background: linear-gradient(45deg, #02777a, #268d89);
    color: white;
    transform: translateX(5px);
}

.language-dropdown .dropdown-item:focus {
    background: linear-gradient(45deg, #02777a, #268d89);
    color: white;
}

#languageDropdown {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    transition: all 0.3s ease;
}

#languageDropdown:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

#currentFlag {
    font-size: 1.2em;
    margin-right: 5px;
}

#currentLang {
    font-weight: 600;
    font-size: 0.9em;
}

/* Language transition effects */
[data-translate] {
    transition: opacity 0.3s ease;
}

.language-switching [data-translate] {
    opacity: 0.7;
}

/* Mobile language dropdown */
@media (max-width: 768px) {
    .language-dropdown {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 10px;
    }

    #languageDropdown {
        width: 100%;
        text-align: center;
    }
}
/* Phone Mockup Styles */
.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 600px;
    margin-top: 2rem;
}

.phone-frame {
    position: relative;
    width: 320px;
    height: 640px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 8px solid #333;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.phone-time {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.phone-battery {
    color: #28a745;
}

.app-header {
    background: #02777a;
    color: white;
    padding: 15px;
    text-align: center;
}

.app-header h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.coupon-notifications {
    padding: 15px;
    background: #f8f9fa;
    height: calc(100% - 120px);
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.notification-content {
    flex: 1;
}

.notification-content h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
}

.notification-content p {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #666;
}

.notification-content small {
    font-size: 11px;
    color: #999;
}

.btn-claim {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    background: #02777a;
    color: white;
    border: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .phone-mockup {
        margin-top: 3rem;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
    }
}
