/* =====================
   GREEN THEME MARKETING CSS
   ===================== */

   :root {
    /* Green Theme Colors */
    --green-primary: #00A63E;
    --green-primary-light: #00BC7D;
    --green-dark: #008533;
    --green-bg-light: #E8F5E9;
    --green-bg-lighter: #F1F8F4;
    --green-accent: #B2DFDB;
    
    /* Gray Scale */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200) !important;
}

.navbar-brand {
    font-size: 1.25rem;
    color: var(--gray-900) !important;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Microsoft Sans Serif', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navigation Links - Desktop */
.navbar-nav .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green-primary-light) 0%, var(--green-primary) 100%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--green-primary);
}

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

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.875rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 1.05rem;
    }
    
    /* Remove desktop underline effect on mobile */
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    /* Mobile hover effect - soft green background */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:active {
        background-color: var(--green-bg-lighter);
        color: var(--green-primary);
    }
    
    /* Button spacing in mobile menu */
    .navbar-collapse .d-flex {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .navbar-collapse .d-flex .btn {
        width: 100%;
        text-align: center;
    }
}

.navbar .btn-outline-secondary {
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.navbar .btn-outline-secondary:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-900);
}

.navbar .btn-primary {
    background: linear-gradient(135deg, var(--green-primary-light) 0%, var(--green-primary) 100%);
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
}

.navbar .btn-primary:hover {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hamburger menu icon customization */
.navbar-toggler {
    border: 2px solid var(--gray-300);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 166, 62, 0.15);
    border-color: var(--green-primary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2852, 58, 64, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================
   HERO SECTION
   ===================== */
.hero-gradient {
    background: linear-gradient(180deg, var(--green-bg-lighter) 0%, #ffffff 100%);
    padding: 5rem 0 4rem !important;
}

.hero-gradient h1 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

.hero-gradient .lead {
    color: var(--gray-700);
    font-size: 1.125rem;
}

.hero-gradient .btn-primary {
    background: linear-gradient(135deg, var(--green-primary-light) 0%, var(--green-primary) 100%);
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
}

.hero-gradient .btn-primary:hover {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-gradient .btn-outline-secondary {
    color: var(--gray-700);
    border-color: var(--gray-300);
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
}

.hero-gradient .btn-outline-secondary:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-900);
    transform: translateY(-2px);
}

.preview-tilt {
    perspective: 1000px;
    margin-top: 3rem;
}

.preview-tilt img {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
    border-radius: 16px !important;
    transition: transform 0.3s ease;
}

.preview-tilt:hover img {
    transform: rotateX(2deg) rotateY(-2deg) scale(1.02);
}

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works {
    padding: 5rem 0 !important;
}

.how-it-works h2 {
    color: var(--gray-900);
    font-weight: 700;
    font-size: 2.5rem;
}

.how-card {
    background: white;
    border-radius: 16px;
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.how-card:hover {
    border-color: var(--green-primary);
    box-shadow: 0 12px 40px rgba(0, 166, 62, 0.15);
    transform: translateY(-4px);
}

.step-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--green-primary-light) 0%, var(--green-primary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.icon-pill {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--green-bg-lighter) 0%, var(--green-bg-light) 100%);
    color: var(--green-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.how-card h5 {
    color: var(--gray-900);
    font-weight: 600;
}

.shadow-light {
    box-shadow: var(--shadow);
}

/* =====================
   FEATURES
   ===================== */
.bg-marketing-light {
    background-color: var(--gray-50) !important;
    padding: 5rem 0 !important;
}

.bg-marketing-light h2 {
    color: var(--gray-900);
    font-weight: 700;
    font-size: 2.5rem;
}

.feature-card {
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--green-primary);
    box-shadow: 0 8px 30px rgba(0, 166, 62, 0.12);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green-primary-light) 0%, var(--green-primary) 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-card h6 {
    color: var(--gray-900);
    font-weight: 600;
}

/* =====================
   PRICING
   ===================== */
.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--green-primary);
    box-shadow: 0 12px 40px rgba(0, 166, 62, 0.15);
    transform: translateY(-4px);
}

.pricing-card.border-primary {
    border-color: var(--green-primary) !important;
    box-shadow: 0 12px 40px rgba(0, 166, 62, 0.2);
    position: relative;
}

.pricing-card.border-primary::before {
    content: "BEST VALUE";
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--green-primary-light) 0%, var(--green-primary) 100%);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-badge {
    background-color: var(--green-bg-light);
    color: var(--green-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-badge.bg-success {
    background: linear-gradient(135deg, var(--green-primary-light) 0%, var(--green-primary) 100%) !important;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.pricing-period {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.pricing-list {
    margin: 0;
    padding: 0;
}

.pricing-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.pricing-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-card .btn-primary {
    background: linear-gradient(135deg, var(--green-primary-light) 0%, var(--green-primary) 100%);
    border: none;
    font-weight: 600;
    padding: 0.875rem;
    border-radius: 10px;
}

.pricing-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pricing-card .btn-outline-primary {
    color: var(--green-primary);
    border-color: var(--green-primary);
    border-width: 2px;
    font-weight: 600;
    padding: 0.875rem;
    border-radius: 10px;
}

.pricing-card .btn-outline-primary:hover {
    background-color: var(--green-primary);
    border-color: var(--green-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =====================
   CTA SECTION
   ===================== */
.cta-marketing {
    background: linear-gradient(135deg, var(--green-primary-light) 0%, var(--green-primary) 100%);
    color: white;
    padding: 5rem 0;
}

.cta-marketing h2 {
    color: white;
    font-weight: 700;
    font-size: 2.75rem;
}

.cta-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    background: white !important;
    color: var(--green-primary) !important;
    border: none !important;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 10px;
    font-size: 1.125rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: var(--gray-100) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* =====================
   FOOTER
   ===================== */
.footer-marketing {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-logo {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-heading {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-divider {
    border-color: var(--gray-700);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
    .hero-gradient h1 {
        font-size: 2rem;
    }
    
    .hero-gradient .lead {
        font-size: 1rem;
    }
    
    .how-it-works h2,
    .bg-marketing-light h2 {
        font-size: 2rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .cta-marketing h2 {
        font-size: 2rem;
    }
    
    .cta-subtext {
        font-size: 1.125rem;
    }
}

/* =====================
Home page phone devices preview
===================== */

/* Device Showcase */
.device-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 40px 0;
    margin-top: 20px;
    margin-left: -50px;
}

.device-laptop {
    position: relative;
    z-index: 1;
    max-width: 700px;
    width: 100%;
}

.device-laptop img {
    width: 100%;
    height: auto;
}

.device-phone {
    position: absolute;
    right: 10%;
    bottom: 20px;
    z-index: 2;
    max-width: 200px;
    width: 25%;
}

.device-phone img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Fade Up Animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUpIn 0.8s ease-out forwards;
}

.fade-up-delay {
    animation-delay: 0.3s;
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .device-showcase {
        padding: 20px 0;
    }
    
    .device-laptop {
        max-width: 90%;
    }
    
    .device-phone {
        right: 5%;
        max-width: 150px;
        width: 28%;
    }
}

@media (max-width: 576px) {

.device-laptop{
    left: 5px;
}

    .device-phone {
        right: -13px;
        max-width: 120px;
        width: 30%;
        bottom: 10px;
    }
}

/* =====================
   PURPOSE-BUILT PHOTO SECTION
   ===================== */
.purpose-section {
    position: relative;
    background-image: url('/images/marketing/photo-section.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.purpose-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 1;
}

.purpose-heading {
    color: white;
    font-weight: 700;
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.purpose-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 1.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.purpose-btn {
    background: var(--green-primary) !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 166, 62, 0.3);
}

.purpose-btn:hover {
    background: var(--green-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 166, 62, 0.4);
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .purpose-section {
        padding: 5rem 0;
    }
    
    .purpose-heading {
        font-size: 2.25rem;
    }
    
    .purpose-subtext {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .purpose-section {
        padding: 4rem 0;
        min-height: 350px;
    }
    
    .purpose-heading {
        font-size: 1.875rem;
    }
    
    .purpose-subtext {
        font-size: 1rem;
    }
    
    .purpose-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.4) 100%
        );
    }
}

@media (max-width: 576px) {
    .purpose-section {
        padding: 3rem 0;
        min-height: 300px;
    }
    
    .purpose-heading {
        font-size: 1.625rem;
    }
    
    .purpose-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* =====================
   AUTH PAGES (LOGIN & SIGNUP)
   ===================== */

/* Auth Page Background */
.auth-bg {
    background: linear-gradient(180deg, var(--green-bg-lighter) 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Auth Cards */
.auth-card {
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Auth Headings */
.auth-heading {
    color: var(--gray-900);
    font-weight: 700;
    font-size: 2rem;
}

.auth-subheading {
    color: var(--gray-900);
    font-weight: 600;
    font-size: 1.1rem;
}

.auth-description {
    color: var(--gray-600);
    font-size: 1.05rem;
}

/* Auth Form Labels */
.auth-label {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

/* Auth Form Inputs */
.auth-input,
.login-input,
.signup-input {
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-input:focus,
.login-input:focus,
.signup-input:focus {
    border-color: var(--green-primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 166, 62, 0.1) !important;
    outline: none;
}

/* Auth Input Group (for URL prefix, etc.) */
.auth-input-group .input-group-text {
    background-color: var(--gray-100);
    border: 1.5px solid var(--gray-200);
    border-right: none;
    color: var(--gray-600);
    font-weight: 500;
}

.auth-input-group .form-control {
    border-left: none;
}

.auth-input-group:focus-within .input-group-text {
    border-color: var(--green-primary);
}

/* Auth Buttons */
.auth-btn,
.login-btn,
.signup-btn {
    background: linear-gradient(135deg, var(--green-primary-light) 0%, var(--green-primary) 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.auth-btn:hover,
.login-btn:hover,
.signup-btn:hover {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 166, 62, 0.35) !important;
    color: white;
}

.auth-btn:active,
.login-btn:active,
.signup-btn:active {
    transform: translateY(0);
}

/* Auth Links */
.auth-link,
.login-link {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover,
.login-link:hover {
    color: var(--green-primary-light);
}

/* Auth Alert/Plan Card */
.auth-alert-success {
    background: linear-gradient(135deg, var(--green-bg-light) 0%, var(--green-bg-lighter) 100%);
    border: 2px solid var(--green-primary);
    border-radius: 12px;
    padding: 1rem;
}

.auth-alert-success strong {
    color: var(--green-primary);
    font-weight: 700;
}

/* Auth Error Alert */
.auth-alert-danger {
    border-radius: 10px;
    border-left: 4px solid #DC2626;
}

/* Auth Divider */
.auth-divider {
    border-color: var(--gray-600);
    margin: 2rem 0;
}

/* Auth Text Colors */
.auth-text-muted {
    color: var(--gray-500);
}

.auth-text-success {
    color: var(--green-primary) !important;
    font-weight: 500;
}

.auth-text-danger {
    color: #DC2626 !important;
}