/* ===================================
   ResumeIt Landing Page Styles
   Modern, clean, production-ready design
   =================================== */

:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --secondary: #0EA5E9;
    --accent: #06B6D4;
    --success: #10B981;
    --text-dark: #0F172A;
    --text-medium: #334155;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    --border: #E2E8F0;
    --shadow: rgba(15, 23, 42, 0.08);
    --shadow-lg: rgba(15, 23, 42, 0.15);
    --gradient: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
    --gradient-soft: linear-gradient(135deg, #DBEAFE 0%, #E0F2FE 100%);
}

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

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

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

/* ===================================
   Hero Section
   =================================== */

.hero {
    background: var(--gradient);
    color: white;
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(to right, #FFFFFF, #DBEAFE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
    background: #F8FAFC;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.25rem;
}

.stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon svg {
    stroke: white;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Browser Mockup */
.browser-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

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

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

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

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

.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 {
    background: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
    flex: 1;
    border: 1px solid var(--border);
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

.browser-content {
    padding: 24px;
    background: var(--gradient-soft);
    min-height: 300px;
}

.extension-demo {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.demo-header svg {
    stroke: var(--primary);
}

.demo-header h3 {
    color: var(--text-dark);
    font-size: 1.125rem;
    margin: 0;
}

.demo-section {
    margin-bottom: 20px;
}

.demo-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.demo-score {
    display: flex;
    align-items: center;
    gap: 16px;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.score-value {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.score-label {
    font-size: 1rem;
    color: var(--success);
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #EFF6FF;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    border: 1px solid #BFDBFE;
}

/* ===================================
   How It Works Section
   =================================== */

.how-it-works {
    padding: 80px 20px;
    background: var(--bg-white);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

.step {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-lg);
    background: var(--bg-gradient);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: 80px 20px;
    background: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

.feature {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-lg);
    border-color: var(--primary-light);
    background: var(--bg-gradient);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.feature-icon svg {
    stroke: var(--primary);
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
}

/* ===================================
   Pricing Section
   =================================== */

.pricing {
    padding: 80px 20px;
    background: var(--bg-white);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

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

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.pricing-card-featured:hover {
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

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

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-period {
    font-size: 1.125rem;
    color: var(--text-light);
}

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

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.pricing-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--success);
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-features li.disabled svg {
    stroke: var(--text-light);
}

.btn-outline {
    background: transparent;
    color: var(--text-medium);
    border: 2px solid var(--border);
    width: 100%;
}

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--primary-light);
    color: var(--primary);
    transform: none;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    padding: 80px 20px;
    background: var(--gradient);
    color: white;
    text-align: center;
}

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

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

/* ===================================
   Premium Sections
   =================================== */

.premium-hero {
    padding: 80px 20px;
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.premium-hero .premium-hero-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.premium-hero .description {
    color: #f3f4f6;
}

.premium-guarantee {
    margin-top: 16px;
    font-size: 0.95rem;
    color: #e0e7ef;
}

.premium-plan {
    padding: 40px 20px 80px;
    background: var(--bg-white);
    box-shadow: 0 4px 32px 0 rgba(37,99,235,0.07);
    border-radius: 24px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.premium-benefits {
    padding-top: 40px;
}

.premium-flow {
    background: var(--bg-light);
}

.premium-cta {
    background: var(--primary);
}

.premium-cta h2,
.premium-cta p {
    color: white;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-brand p {
    opacity: 0.7;
}

.footer-links h4 {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* ===================================
   Modal
   =================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
}

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

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-close:hover {
    color: var(--text-dark);
}

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

.install-step {
    padding: 24px;
    background: var(--bg-gradient);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.install-step strong {
    display: block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.125rem;
}

.install-step ol {
    margin-left: 20px;
}

.install-step li {
    margin-bottom: 8px;
}

.install-step code {
    background: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    color: var(--primary);
    border: 1px solid var(--border);
    font-size: 0.875rem;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .modal-content {
        margin: 10% 20px;
        padding: 30px 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
