/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --chatgpt: #10a37f;
    --claude: #cc9b7a;
    --m365: #0078d4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

/* Navigation */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    color: white;
}

.github-link {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.github-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-content {
    text-align: center;
    padding: 80px 0 60px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.browser-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.browser-header {
    background: #f3f4f6;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
}

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

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url {
    flex: 1;
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.browser-content {
    padding: 32px;
    min-height: 300px;
    background: linear-gradient(to bottom, #fafafa, white);
    position: relative;
}

.chat-message {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    animation: fadeIn 0.5s ease-out;
}

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

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.chat-message.assistant .message-content {
    background: #f9fafb;
}

.code-block {
    margin-top: 12px;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
}

.code-header {
    background: #2d2d2d;
    padding: 8px 12px;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.code-content {
    padding: 12px;
    color: #e5e7eb;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.export-overlay {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: bounce 2s ease-in-out infinite;
}

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

.export-icon {
    font-size: 24px;
}

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

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

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
}

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

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

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

/* Platforms Section */
.platforms-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.platforms-grid-three {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.platform-card {
    background: white;
    padding: 48px 40px;
    border-radius: 20px;
    border: 2px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

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

.platform-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.platform-logo.chatgpt {
    background: linear-gradient(135deg, #10a37f 0%, #0d8c6d 100%);
}

.platform-logo.claude {
    background: linear-gradient(135deg, #cc9b7a 0%, #b8805c 100%);
}

.platform-logo.m365 {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
}

.platform-card:hover .platform-logo {
    transform: scale(1.1) rotate(5deg);
}

.platform-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.platform-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.platform-url {
    display: inline-block;
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'Monaco', monospace;
}

/* Installation Section */
.install-section {
    padding: 100px 0;
    background: white;
}

.install-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.install-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid var(--border);
}

.install-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.install-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatgpt-gradient {
    background: linear-gradient(135deg, #10a37f 0%, #0d8c6d 100%);
}

.claude-gradient {
    background: linear-gradient(135deg, #cc9b7a 0%, #b8805c 100%);
}

.m365-gradient {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
}

.install-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.bookmarklet-zone {
    background: white;
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
    transition: all 0.3s;
}

.bookmarklet-zone:hover {
    border-color: var(--primary);
    background: var(--bg-secondary);
}

.bookmarklet-instruction {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.bookmarklet-btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    cursor: move;
    box-shadow: var(--shadow);
}

.bookmarklet-btn.chatgpt {
    background: linear-gradient(135deg, #10a37f 0%, #0d8c6d 100%);
}

.bookmarklet-btn.claude {
    background: linear-gradient(135deg, #cc9b7a 0%, #b8805c 100%);
}

.bookmarklet-btn.m365 {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
}

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

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    background: var(--text-primary);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

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

.install-help {
    max-width: 800px;
    margin: 0 auto;
}

.help-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.help-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.help-card p {
    font-size: 16px;
    opacity: 0.95;
}

/* Demo Section */
.demo-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.demo-visual {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.demo-step {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.demo-step:hover, .demo-step.active {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.demo-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.demo-step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.demo-step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.demo-preview {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.email-preview {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.email-header {
    background: var(--bg-secondary);
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.email-subject {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.email-meta {
    font-size: 14px;
    color: var(--text-secondary);
}

.email-body {
    padding: 24px;
}

.email-content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-family: 'Monaco', monospace;
}

.email-attachments {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.attachment {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.attachment-icon {
    font-size: 20px;
}

.attachment-name {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

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

.faq-item {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    
    .demo-visual {
        grid-template-columns: 1fr;
    }
    
    .demo-steps {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid,
    .platforms-grid,
    .install-cards,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 16px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .browser-content {
        padding: 20px;
    }
}
