/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-blue: #1a73e8;
    --primary-green: #34c759;
    --accent-orange: #ff6f61;
    --accent-purple: #8e44ad;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border-light: #e9ecef;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Dark Mode */
.dark-mode {
    --text-dark: #ffffff;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --bg-gray: #2a2a2a;
    --bg-dark: #0a0a0a;
    --border-light: #3a3a3a;
    --shadow-light: rgba(255, 255, 255, 0.1);
    --shadow-medium: rgba(255, 255, 255, 0.15);
    --shadow-heavy: rgba(255, 255, 255, 0.25);
}

/* Header */
header {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-medium);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

nav a:hover {
    color: var(--primary-blue);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-fast);
}

nav a:hover::after {
    width: 100%;
}

/* Buttons */
.cta-button {
    background: var(--primary-blue);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-medium);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-medium);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-button.secondary:hover {
    background: var(--primary-blue);
    color: white;
}

/* Account Dropdown Styles */
.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.account-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.account-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e0e0e0;
}

.account-dropdown.active .account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-info {
    margin-bottom: 15px;
}

.account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.account-item:last-child {
    border-bottom: none;
}

.account-item .label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.account-item .value {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    word-break: break-all;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.action-btn.disconnect {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.action-btn.disconnect:hover {
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Dark mode styles for account dropdown */
.dark-mode .account-menu {
    background: #2a2a2a;
    border-color: #444;
}

.dark-mode .account-item {
    border-bottom-color: #444;
}

.dark-mode .account-item .label {
    color: #ccc;
}

.dark-mode .account-item .value {
    color: #fff;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 1;
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input[readonly] {
    background-color: #f9fafb;
    color: #6b7280;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.form-actions button {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.form-actions .primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.form-actions .primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.form-actions .secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.form-actions .secondary:hover {
    background: #e5e7eb;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px;
    color: #dc2626;
    text-align: center;
}

.error-message p {
    margin: 0 0 8px 0;
}

.error-message p:last-child {
    margin-bottom: 0;
}

/* Dark mode modal styles */
.dark-mode .modal-content {
    background: #1a1a1a;
    border: 1px solid #333;
}

.dark-mode .modal-body {
    background: #1a1a1a;
}

.dark-mode .form-group label {
    color: #e5e7eb;
}

.dark-mode .form-group input,
.dark-mode .form-group select {
    background: #2d2d2d;
    border-color: #4b5563;
    color: #e5e7eb;
}

.dark-mode .form-group input:focus,
.dark-mode .form-group select:focus {
    border-color: #667eea;
}

.dark-mode .form-group input[readonly] {
    background-color: #374151;
    color: #9ca3af;
}

.dark-mode .form-actions .secondary {
    background: #374151;
    color: #e5e7eb;
    border-color: #4b5563;
}

.dark-mode .form-actions .secondary:hover {
    background: #4b5563;
}

.dark-mode .error-message {
    background: #2d1b1b;
    border-color: #7f1d1d;
    color: #fca5a5;
}

/* Connected state for hero buttons */
.wallet-button.connected,
.cta-button.connected {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    opacity: 0.8;
    cursor: default;
}

.wallet-button.connected:hover,
.cta-button.connected:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Generated Content Styles */
.generated-content {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.generated-content h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.content-text {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
}

.success-message {
    color: #28a745;
    font-weight: 600;
    margin-top: 15px;
    padding: 10px;
    background: #d4edda;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
}

/* Dark mode styles for generated content */
.dark-mode .generated-content {
    background: #2a2a2a;
    border-color: #444;
}

.dark-mode .content-text {
    background: #333;
    color: #fff;
    border-left-color: var(--primary-blue);
}

.dark-mode .success-message {
    background: #155724;
    border-color: #1e7e34;
    color: #d4edda;
}

.wallet-button {
    background: var(--accent-orange);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-medium);
}

.wallet-button:hover {
    background: #e55a4e;
    transform: translateY(-1px);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.toggle-icon {
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

/* Hero Section */
#hero {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    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="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

#hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-visual {
    position: relative;
    height: 400px;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.ai-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

/* Sections */
section {
    padding: var(--spacing-xxl) 0;
}

section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
}

/* Features Section */
#features {
    background: var(--bg-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: var(--transition-medium);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transform: scaleX(0);
    transition: var(--transition-medium);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials Section */
#testimonials {
    background: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Demo Section */
#demo {
    background: var(--bg-gray);
    text-align: center;
}

.wallet-status {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
}

#demo-form, #redeem-form {
    max-width: 600px;
    margin: var(--spacing-lg) auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

#content-type, #prompt, #points, #reward-type {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-primary);
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition-fast);
}

#content-type:focus, #prompt:focus, #points:focus, #reward-type:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

#prompt {
    height: 120px;
    resize: vertical;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-blue);
}

.result-box {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
    min-height: 100px;
    opacity: 0;
    transition: var(--transition-medium);
    text-align: left;
}

.result-box.show {
    opacity: 1;
}

/* Redeem Points Styles */
#redeem-form {
    max-width: 400px;
    margin: var(--spacing-md) auto;
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
}

.redeem-message {
    font-size: 0.9rem;
    font-weight: 600;
    margin: var(--spacing-sm) 0;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    text-align: center;
    min-height: 20px;
}

.redeem-message.success {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.redeem-message.error {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border: 1px solid #f44336;
    color: #c62828;
}

.dark-mode .redeem-message.success {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    border-color: #4caf50;
    color: #81c784;
}

.dark-mode .redeem-message.error {
    background: linear-gradient(135deg, #3e2723, #5d4037);
    border-color: #f44336;
    color: #ef5350;
}

/* Pricing Section */
#pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    background: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

.pricing-card.popular {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.price {
    margin-bottom: var(--spacing-lg);
}

.price .currency {
    font-size: 1.5rem;
    color: var(--text-light);
    vertical-align: top;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
}

.features-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.pricing-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
}

.demo-note {
    margin-top: var(--spacing-md);
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.features-list li {
    margin: var(--spacing-sm) 0;
    font-size: 1rem;
    color: var(--text-dark);
}

/* Integrations Section */
#integrations {
    background: var(--bg-gray);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.integration-item {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid var(--border-light);
}

.integration-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.integration-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.integration-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: var(--spacing-xs) 0;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #3a3a3a;
    color: #b0b0b0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    header .container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .feature-grid,
    .pricing-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: var(--spacing-sm);
        font-size: 0.8rem;
    }
    
    .feature-card,
    .testimonial,
    .pricing-card {
        padding: var(--spacing-md);
    }
    
    .integrations-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-blue);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.hidden { display: none; }
.visible { display: block; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Selection Styles */
::selection {
    background: var(--primary-blue);
    color: white;
}

::-moz-selection {
    background: var(--primary-blue);
    color: white;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.dark-mode-toggle:hover {
    background: var(--bg-light);
}

.dark-mode .dark-mode-toggle:hover {
    background: var(--bg-dark);
}

.toggle-icon {
    display: inline-block;
    transition: var(--transition-fast);
}
/* Premium Page Styles */
.premium-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.wallet-status-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
}

.wallet-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wallet-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

.wallet-actions {
    display: flex;
    gap: 1rem;
}

.followers-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.followers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.followers-header h3 {
    color: #fff;
    margin: 0;
}

.followers-list {
    max-height: 300px;
    overflow-y: auto;
}

.follower-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    list-style: none;
}

.cost-display {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4ade80;
    margin: 1rem 0;
}

.status-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-item:last-child {
    border-bottom: none;
}

.status-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.status-value {
    color: #fff;
    font-weight: 600;
}

.status-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
}

.cta-button.connected {
    background: #10b981;
    opacity: 0.8;
    cursor: default;
}

.cta-button.configured {
    background: #8b5cf6;
    opacity: 0.8;
    cursor: default;
}

/* Responsive Design for Premium */
@media (max-width: 768px) {
    .wallet-status-card {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .wallet-actions {
        justify-content: center;
    }
    
    .followers-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}