/* Modern EmailMarketing Pro Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Installer Status Styles */
.installer-status {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.btn-secondary {
    background: var(--text-light);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: not-allowed;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    opacity: 0.6;
    transform: none;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    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;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

/* Removed hover behavior */

.admin-link {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color) !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Removed hover behavior */

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::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="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-1 {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 120px;
    left: 20px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 120px;
    right: 40px;
    animation-delay: 4s;
}

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

.hero-dashboard {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 300px;
    overflow: hidden;
}

.dashboard-header {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.dashboard-content {
    padding: 24px;
}

.dashboard-chart {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 80px;
    margin-bottom: 20px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--height, 60%); }
}

.dashboard-metrics {
    display: flex;
    justify-content: space-between;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pricing-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(0, 113, 227, 0.05);
    padding-left: 8px;
    padding-right: 8px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.feature-item span strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: var(--bg-primary);
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.legal-section p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* About Page */
.about-page {
    padding: 120px 0 80px;
    background: var(--bg-primary);
}

.about-hero {
    text-align: center;
    margin-bottom: 80px;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.company-story {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

.story-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.mission-section {
    margin-bottom: 80px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.mission-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.technology-section {
    margin-bottom: 80px;
}

.technology-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 50px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-feature {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tech-icon i {
    font-size: 1.5rem;
    color: white;
}

.tech-feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.tech-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-section {
    margin-bottom: 80px;
}

.team-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 20px;
}

.team-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.member-avatar i {
    font-size: 2rem;
    color: var(--primary-color);
}

.team-member h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.team-member p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Support Section */
.support-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 24px;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

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

.support-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.support-header i {
    font-size: 3rem;
    color: #ffd700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.support-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.support-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.support-requirements {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.support-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    text-align: left;
}

.support-item i {
    font-size: 1.5rem;
    color: #ffd700;
    min-width: 30px;
}

.support-guarantee {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #ffd700;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.support-guarantee i {
    font-size: 1.8rem;
    color: #ffd700;
}

.support-guarantee p {
    margin: 0;
    font-size: 1.1rem;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0088cc, #00a2ed);
    color: white;
    padding: 18px 48px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #006699, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 136, 204, 0.6);
}

.btn-telegram i {
    font-size: 1.5rem;
}

.contact-cta {
    background: var(--gradient-primary);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    color: white;
}

.contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Help Page */
.help-page {
    padding: 120px 0 80px;
    background: var(--bg-primary);
}

.help-hero {
    text-align: center;
    margin-bottom: 60px;
}

.help-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.search-container {
    max-width: 600px;
    margin: 40px auto 0;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 4px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.search-box i {
    padding: 16px 20px;
    color: var(--text-secondary);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.quick-actions {
    margin-bottom: 80px;
}

.quick-actions h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 50px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.action-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.action-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.action-icon i {
    font-size: 2rem;
    color: white;
}

.action-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.action-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.response-time {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.faq-section {
    margin-bottom: 80px;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 30px 30px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.guides-section {
    margin-bottom: 80px;
}

.guides-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 50px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.guide-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.guide-icon i {
    font-size: 1.5rem;
    color: white;
}

.guide-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.guide-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.guide-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.guide-link:hover {
    text-decoration: underline;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.chat-widget.minimized {
    height: 60px;
}

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-info i {
    font-size: 1.2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
}

.chat-content {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 300px;
}

.message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message.bot .message-avatar {
    background: var(--accent-color);
    color: white;
}

.message.user .message-avatar {
    background: var(--primary-color);
    color: white;
}

.message-content {
    max-width: 70%;
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: 12px;
}

.message.user .message-content {
    background: var(--primary-color);
    color: white;
}

.message-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
}

.chat-input {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
}

.chat-input input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    outline: none;
}

.chat-input button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-input button:hover {
    background: var(--primary-dark);
}

/* Contact Page */
.contact-page {
    padding: 120px 0 80px;
    background: var(--bg-primary);
}

.contact-hero {
    text-align: center;
    margin-bottom: 80px;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-options {
    margin-bottom: 80px;
}

.contact-options h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 50px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.contact-card .contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-card .contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-form-section {
    margin-bottom: 80px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-container h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 16px;
}

.form-container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-icon {
    font-size: 1.2rem;
}

.contact-info-section {
    margin-bottom: 80px;
}

.contact-info-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 50px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.info-content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.info-content strong {
    color: var(--text-primary);
}

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

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.quick-links a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 4px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Form Styles */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: 400;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Dashboard Styles */
.dashboard-page {
    background: var(--bg-secondary);
    min-height: 100vh;
}

.dashboard-nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-dropdown {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.dashboard-main {
    padding: 40px 0;
}

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

.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.welcome-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.welcome-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.stats-section {
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.status-active {
    color: var(--accent-color);
    font-weight: 600;
}

.status-inactive {
    color: var(--text-light);
    font-weight: 600;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.content-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}


.card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.card-content {
    padding: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.license-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.license-single {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.license-multi {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-color);
}

.public-key {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    background: var(--bg-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    word-break: break-all;
}

.token {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    background: var(--bg-secondary);
    padding: 6px 10px;
    border-radius: 4px;
    word-break: break-all;
}

.installer-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.no-installer,
.no-hardware,
.no-jobs {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.no-installer i,
.no-hardware i,
.no-jobs i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-installer h3,
.no-hardware h3,
.no-jobs h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.hardware-list,
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hardware-item,
.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.hardware-info,
.job-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hardware-signature,
.hardware-date,
.job-status,
.job-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hardware-signature label,
.hardware-date label,
.job-status label,
.job-date label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    color: var(--secondary-color);
    font-weight: 600;
}

.status-completed {
    color: var(--accent-color);
    font-weight: 600;
}

.status-failed {
    color: #ef4444;
    font-weight: 600;
}

.dashboard-footer {
    background: var(--bg-dark);
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

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

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Page Styles */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    max-width: 1200px;
    width: 95%;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    min-height: 650px;
}

.login-card {
    padding: 70px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 650px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.login-logo i {
    font-size: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    z-index: 1;
}

.input-group input {
    padding-left: 50px;
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    z-index: 1;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.remember-me label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-dark);
}

.login-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.login-divider span {
    background: white;
    padding: 0 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.login-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 70px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
}

.info-content {
    text-align: center;
}

.info-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.info-feature i {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Login Page Responsive */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        width: 100%;
        margin: 10px;
        min-height: auto;
    }
    
    .login-card {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .login-info {
        padding: 40px 30px;
        min-height: auto;
    }
}

/* Admin Panel Styles */
.admin-page {
    background: var(--bg-secondary);
    min-height: 100vh;
}

.admin-nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.admin-nav .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.admin-nav .nav-logo i {
    font-size: 2rem;
}

.admin-main {
    padding: 40px 0;
}

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

.stats-overview {
    margin-bottom: 40px;
}

.stats-overview h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.customers-section {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    z-index: 1;
}

.search-box input {
    padding: 12px 16px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    width: 300px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.table-container {
    overflow-x: auto;
}

.customers-table {
    width: 100%;
    border-collapse: collapse;
}

.customers-table th {
    background: var(--bg-secondary);
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.customers-table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.customers-table tr:hover {
    background: var(--bg-secondary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-verified {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-color);
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--secondary-color);
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-color);
}

.status-inactive {
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-light);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.modal-large {
    max-width: 800px;
    width: 95%;
}

.modal-small {
    max-width: 450px;
    width: 90%;
    border-radius: 4px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.form-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Admin Page Styles */
.admin-page {
    background: var(--bg-primary);
    min-height: 100vh;
}

.admin-nav {
    background: var(--gradient-primary);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.admin-nav .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.admin-nav .nav-logo i {
    font-size: 1.5rem;
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

/* Removed hover behavior */

.admin-main {
    padding: 4px;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.admin-header {
    text-align: center;
    margin-bottom: 20px;
}

.admin-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.admin-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.stats-section, .license-stats {
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 4px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

/* Removed hover behavior */

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.customer-management {
    margin-top: 20px;
}

.table-container {
    overflow-x: auto;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.admin-table th {
    background: var(--bg-secondary);
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* Removed hover behavior */

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-edit, .btn-delete {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-edit {
    background: var(--accent-color);
    color: white;
}

/* Removed hover behavior */

.btn-delete {
    background: #ef4444;
    color: white;
}

/* Removed hover behavior */

.card-actions {
    display: flex;
    gap: 10px;
}

.no-data {
    color: #6b7280;
    font-style: italic;
    font-size: 0.9rem;
}

.customer-details {
    display: grid;
    gap: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 150px;
}

.detail-row span {
    color: var(--text-secondary);
    text-align: right;
}

.admin-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: 50px;
}

/* Admin Login Page Styles */
.admin-login-page {
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: calc(100vh - 140px);
}

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

.login-card {
    background: white;
    border-radius: 4px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.login-header {
    margin-bottom: 30px;
}

.login-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.5rem;
}

.login-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
}

.login-form {
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1rem;
}

.input-group input {
    width: 100%;
    padding: 18px 18px 18px 50px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    background: var(--bg-primary);
    box-sizing: border-box;
}

/* Removed focus behavior */

.btn-full {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    margin-top: 10px;
}

.login-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.login-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Profile Page Styles */
.page-header {
    margin-bottom: 30px;
}

.header-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.profile-content {
    margin-bottom: 40px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-group input {
    flex: 1;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.form-actions {
    margin-top: 10px;
}

.access-key {
    font-family: 'Courier New', monospace;
    background: var(--bg-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    word-break: break-all;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    /* Support Section Mobile */
    .support-section {
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .support-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .support-header i {
        font-size: 2.5rem;
    }
    
    .support-header h2 {
        font-size: 1.8rem;
    }
    
    .support-description {
        font-size: 1rem;
    }
    
    .support-requirements {
        padding: 20px;
    }
    
    .support-item {
        font-size: 1rem;
    }
    
    .support-guarantee {
        flex-direction: column;
        text-align: center;
    }
    
    .support-guarantee p {
        font-size: 1rem;
    }
    
    .btn-telegram {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE STYLES ===== */

/* Desktop: Hide hamburger menu */
.hamburger-menu {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    /* Navigation */
    .navbar, .dashboard-nav {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 10px;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-logo span {
        display: none;
    }
    
    /* Hamburger Menu Button */
    .hamburger-menu {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        margin-left: auto;
        z-index: 1002;
        position: relative;
    }
    
    .hamburger-icon {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        display: block;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .hamburger-icon::before,
    .hamburger-icon::after {
        content: '';
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }
    
    .hamburger-icon::before {
        top: -8px;
    }
    
    .hamburger-icon::after {
        bottom: -8px;
    }
    
    .hamburger-menu.active .hamburger-icon {
        background: transparent;
    }
    
    .hamburger-menu.active .hamburger-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .hamburger-menu.active .hamburger-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    /* Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1001;
        gap: 0;
        display: flex;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Hide nav menu on desktop by default */
    @media (min-width: 769px) {
        .nav-menu {
            position: static;
            width: auto;
            height: auto;
            background: transparent;
            box-shadow: none;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
            padding: 0;
            gap: 20px;
            display: flex;
        }
    }
    
    .nav-link {
        padding: 15px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: left;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Get Started button in mobile menu */
    .nav-menu .btn-primary {
        width: 100%;
        margin-top: 20px;
        padding: 15px 20px;
        text-align: center;
        justify-content: center;
        border: none;
    }
    
    /* Dashboard Navigation */
    .dashboard-nav .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .user-info {
        flex-direction: column;
        align-items: stretch;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .user-dropdown {
        position: static;
        width: 100%;
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: block;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Main Content */
    .dashboard-main, .main-content {
        padding: 15px;
    }
    
    .dashboard-container, .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    /* Content Grids */
    .content-grid, .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-card, .dashboard-card {
        margin: 0;
        padding: 20px 15px;
    }
    
    .card-header h2 {
        font-size: 1.3rem;
    }
    
    .card-content {
        padding: 15px 0;
    }
    
    /* Info Items */
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .info-item label {
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .info-item span {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .payment-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-actions .btn-primary {
        margin-bottom: 0;
    }
    
    /* Forms */
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    /* Tables */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 600px;
    }
    
    th, td {
        padding: 8px 6px;
        font-size: 0.85rem;
    }
    
    /* Status Badges */
    .status-badge, .license-badge {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    /* Admin Panel Mobile Styles */
    .admin-nav .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .admin-nav .nav-logo {
        font-size: 1.3rem;
    }
    
    .admin-content {
        padding: 15px;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .admin-card {
        padding: 20px 15px;
    }
    
    .admin-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    /* Toggle Switches */
    .toggle-switch {
        transform: scale(0.8);
    }
    
    /* Button Groups */
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .button-group .btn {
        width: 100%;
        margin: 0;
    }
    
    /* Modal Dialogs */
    .modal-content {
        margin: 10px;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .modal-footer {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
    
    /* Loading States */
    .loading-spinner {
        width: 30px;
        height: 30px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 60px 15px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .feature-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Pricing Grid */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 15px;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
    
    .pricing-card.featured {
        transform: none;
        border: 2px solid var(--primary-color);
    }
    
    .pricing-header {
        margin-bottom: 20px;
    }
    
    .pricing-title {
        font-size: 1.4rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .pricing-features {
        margin: 20px 0;
    }
    
    .pricing-features li {
        padding: 8px 0;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 15px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-section ul {
        gap: 10px;
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-top: 30px;
    }
}

/* Extra Small Devices (phones in portrait) */
@media (max-width: 480px) {
    /* Navigation */
    .nav-logo {
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-link {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    /* Main Content */
    .dashboard-main, .main-content {
        padding: 10px;
    }
    
    .content-card, .dashboard-card, .admin-card {
        padding: 15px 10px;
    }
    
    .card-header h2, .admin-card h3 {
        font-size: 1.1rem;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* Tables */
    th, td {
        padding: 6px 4px;
        font-size: 0.8rem;
    }
    
    /* Status Badges */
    .status-badge, .license-badge {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
    
    /* Modal Dialogs */
    .modal-content {
        margin: 5px;
        max-width: calc(100vw - 10px);
        max-height: calc(100vh - 10px);
    }
    
    .modal-header, .modal-body, .modal-footer {
        padding: 10px;
    }
    
    /* Features and Pricing */
    .features-grid, .pricing-grid {
        padding: 30px 10px;
        gap: 20px;
    }
    
    .feature-card, .pricing-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .pricing-title {
        font-size: 1.3rem;
    }
    
    .pricing-price {
        font-size: 2.2rem;
    }
    
    /* Footer */
    .footer {
        padding: 30px 10px 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid, .pricing-grid {
        padding: 30px 15px;
    }
    
    .modal-content {
        max-height: calc(100vh - 40px);
    }
    
    .modal-body {
        max-height: calc(100vh - 100px);
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn-primary, .btn-secondary {
        min-height: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Remove hover effects on touch devices */
    .btn-primary:hover,
    .btn-secondary:hover,
    .nav-link:hover {
        transform: none;
    }
    
    /* Better spacing for touch */
    .content-card, .dashboard-card {
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    /* Scrollable areas */
    .table-responsive,
    .modal-body {
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== MOBILE OVERFLOW FIXES FOR PHONE RESOLUTIONS ===== */

/* Base mobile fixes for all content */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Container fixes */
    .container, .dashboard-container, .main-content {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* Hero Section Overflow Fixes */
    .hero {
        width: 100%;
        max-width: 100vw;
        padding: 80px 0 40px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .hero-container {
        width: 100%;
        max-width: 100vw;
        padding: 0 15px;
        margin: 0;
        box-sizing: border-box;
        display: block;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    
    .hero-title {
        width: 100%;
        max-width: 100%;
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0;
        box-sizing: border-box;
    }
    
    .hero-description {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0;
        box-sizing: border-box;
    }
    
    .hero-subtitle {
        width: 100%;
        max-width: 100%;
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0;
        box-sizing: border-box;
    }
    
    .hero-buttons {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        margin-bottom: 30px;
        padding: 0;
        box-sizing: border-box;
    }
    
    .hero-buttons .btn,
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .hero-stats {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        padding: 0;
        box-sizing: border-box;
    }
    
    .stat-item {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .stat-number {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .stat-label {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Hero Visual */
    .hero-visual {
        display: none;
    }
    
    /* Hero Section (alternate naming) */
    .hero-section {
        width: 100%;
        max-width: 100vw;
        padding: 60px 15px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Content card fixes */
    .content-card, .dashboard-card, .admin-card {
        width: 100%;
        max-width: calc(100vw - 20px);
        margin: 0 0 20px 0;
        padding: 15px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Grid fixes */
    .content-grid, .dashboard-grid, .admin-grid {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    /* Form fixes */
    .form-group, .form-row {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Button fixes */
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 5px 0;
    }
    
    /* Navigation fixes */
    .navbar, .dashboard-nav {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .nav-container {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    /* Text content fixes */
    .hero-content, .legal-content, .about-content, .help-content, .contact-content {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    /* Footer fixes */
    .footer {
        width: 100%;
        max-width: 100vw;
        padding: 40px 15px 20px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .footer .container {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .footer-content {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
        margin-bottom: 30px;
        box-sizing: border-box;
    }
    
    .footer-section {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 20px 10px;
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .footer-section:first-child {
        background: rgba(37, 99, 235, 0.05);
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
        animation: none;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: white;
    }
    
    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #9ca3af;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-section ul li {
        margin-bottom: 10px;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
        color: #9ca3af;
        text-decoration: none;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: inline-block;
        padding: 5px 10px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .footer-section ul li a:active {
        background: rgba(37, 99, 235, 0.1);
        color: var(--primary-color);
    }
    
    .footer-bottom {
        width: 100%;
        max-width: 100%;
        border-top: 1px solid #374151;
        padding-top: 20px;
        text-align: center;
        margin-top: 20px;
        box-sizing: border-box;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        color: #9ca3af;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-links {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 0;
        box-sizing: border-box;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        color: #9ca3af;
        text-decoration: none;
    }
    
    /* Table fixes */
    .table-responsive {
        width: 100%;
        max-width: 100vw;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 600px;
        width: 100%;
        max-width: none;
    }
    
    /* Image fixes */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Code blocks and pre */
    pre, code {
        max-width: 100%;
        overflow-x: auto;
        word-wrap: break-word;
        white-space: pre-wrap;
    }
    
    /* Lists */
    ul, ol {
        padding-left: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Paragraphs and text */
    p, div, span, h1, h2, h3, h4, h5, h6 {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Info items */
    .info-item {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
        box-sizing: border-box;
    }
    
    .info-item label,
    .info-item span {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Status badges */
    .status-badge, .license-badge {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Extra fixes for very small screens */
@media (max-width: 480px) {
    /* Even tighter constraints */
    .container, .dashboard-container, .main-content {
        padding: 0 5px;
    }
    
    .content-card, .dashboard-card, .admin-card {
        padding: 10px;
        max-width: calc(100vw - 10px);
    }
    
    .navbar, .dashboard-nav {
        padding: 0 5px;
    }
    
    .nav-container {
        padding: 0 5px;
    }
    
    .hero-content, .legal-content, .about-content, .help-content, .contact-content {
        padding: 0 5px;
    }
    
    .footer {
        padding: 30px 10px 15px;
    }
    
    .footer .container {
        padding: 0 5px;
    }
    
    .footer-content {
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-section {
        padding: 15px 5px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .footer-logo {
        font-size: 1.3rem;
    }
    
    .footer-logo i {
        font-size: 1.5rem;
    }
    
    .footer-bottom {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Hero Section - Very Small Screens */
    .hero {
        padding: 70px 0 30px;
        max-width: 100vw;
        overflow: hidden;
    }
    
    .hero-container {
        padding: 0 10px;
        max-width: 100vw;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
        line-height: 1.3;
        margin-bottom: 15px;
        word-break: break-word;
    }
    
    .hero-description {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-bottom: 20px;
        word-break: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        word-break: break-word;
    }
    
    .hero-buttons {
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item {
        padding: 8px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Text sizing */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    p, div, span {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Button sizing */
    .btn-primary, .btn-secondary {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Form sizing */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Landscape phone fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .content-card, .dashboard-card {
        padding: 15px 10px;
    }
    
    .modal-content {
        max-height: calc(100vh - 20px);
    }
    
    .modal-body {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

/* iPhone specific fixes */
@media only screen 
    and (device-width: 375px) 
    and (device-height: 667px) 
    and (-webkit-device-pixel-ratio: 2) {
    
    .container, .dashboard-container {
        padding: 0 8px;
    }
    
    .content-card {
        padding: 12px;
        margin: 0 0 15px 0;
    }
}

/* iPhone Plus specific fixes */
@media only screen 
    and (device-width: 414px) 
    and (device-height: 736px) 
    and (-webkit-device-pixel-ratio: 3) {
    
    .container, .dashboard-container {
        padding: 0 12px;
    }
    
    .content-card {
        padding: 15px;
    }
}

/* Samsung Galaxy specific fixes */
@media only screen 
    and (device-width: 360px) 
    and (device-height: 640px) {
    
    .container, .dashboard-container {
        padding: 0 8px;
    }
    
    .content-card {
        padding: 10px;
        margin: 0 0 12px 0;
    }
    
    .btn-primary, .btn-secondary {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}