/* Modern Professional CSS for FastServer Pro */

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

:root {
    --primary-green: #10B981;
    --primary-green-dark: #059669;
    --primary-blue: #3B82F6;
    --primary-purple: #8B5CF6;
    --primary-orange: #F59E0B;

    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --gradient-primary: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    --gradient-orange: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #111827 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', monospace;

    --section-padding: 120px;
    --container-padding: 24px;

    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::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: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-xl {
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 700;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: between;
    padding: 16px 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
}

.pro-badge-small {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-left: auto;
    margin-right: 24px;
}

.nav-menu a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-green);
    background: var(--gray-50);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-dark);
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-float 20s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    backdrop-filter: blur(20px);
    margin-bottom: 32px;
    width: fit-content;
}

.badge-icon {
    font-size: 16px;
}

.badge-text {
    font-size: 14px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-gradient {
    background: linear-gradient(135deg, #10B981 0%, #3B82F6 50%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-price {
    font-size: 14px;
    opacity: 0.9;
}

.hero-proof {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-item {
    text-align: left;
}

.proof-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
}

.proof-label {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 10;
}

.terminal-window {
    background: var(--gray-900);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--gray-700);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--gray-800);
    border-bottom: 1px solid var(--gray-700);
}

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

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #EF4444; }
.btn-minimize { background: #F59E0B; }
.btn-maximize { background: #10B981; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--gray-300);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.5;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prompt {
    color: var(--primary-green);
    font-weight: 600;
}

.command {
    color: var(--gray-300);
}

.success {
    color: var(--primary-green);
}

.info {
    color: var(--primary-blue);
}

.cursor {
    color: var(--white);
    animation: cursor-blink 1s infinite;
}

/* Sections */
section {
    padding: var(--section-padding) 0;
}

.problem-solution {
    background: var(--gray-50);
}

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

.comparison-before h3,
.comparison-after h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.comparison-before h3 {
    color: var(--gray-500);
}

.comparison-after h3 {
    color: var(--primary-green);
}

.problem-list,
.solution-list {
    list-style: none;
    space-y: 24px;
}

.problem-list li,
.solution-list li {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.problem-list li {
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.solution-list li {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.problem-icon,
.solution-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 4px;
}

.problem-content h4,
.solution-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.problem-content p,
.solution-content p {
    color: var(--gray-600);
    line-height: 1.5;
}

/* Features */
.features {
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.feature-icon {
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-details {
    list-style: none;
    space-y: 8px;
}

.feature-details li {
    color: var(--gray-500);
    font-size: 14px;
    padding-left: 16px;
    position: relative;
    margin-bottom: 8px;
}

.feature-details li::before {
    content: '•';
    color: var(--primary-green);
    position: absolute;
    left: 0;
}

/* Technology */
.technology {
    background: var(--gray-50);
}

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

.tech-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.tech-header {
    margin-bottom: 24px;
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.tech-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.tech-stats {
    display: grid;
    gap: 16px;
}

.stat {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 4px;
}

/* Demo */
.demo {
    background: var(--white);
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-200);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pricing {
    background: var(--gray-50);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-size: 14px;
    font-weight: 600;
}

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

.pricing-header h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
}

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

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-600);
}

.amount {
    font-size: 64px;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
}

.period {
    font-size: 18px;
    color: var(--gray-600);
}

.price-description {
    color: var(--gray-600);
    font-size: 16px;
}

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

.pricing-features h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.pricing-features ul {
    list-style: none;
    space-y: 16px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.check {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 16px;
}

.pricing-cta {
    text-align: center;
    margin-bottom: 32px;
}

.btn-secure {
    font-size: 14px;
    opacity: 0.8;
}

.purchase-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-600);
}

.pricing-guarantee {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
}

.guarantee-icon {
    font-size: 16px;
}

.pricing-notes {
    display: grid;
    gap: 24px;
    margin-top: 60px;
}

.note {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-green);
}

.note h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.note p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.5;
}

.support {
    background: var(--white);
}

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

.support-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
}

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

.support-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.support-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.support-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.support-features span {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
}

.support-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

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

.final-cta {
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    margin-bottom: 32px;
}

.guarantee-text {
    color: var(--gray-400);
    font-size: 14px;
}

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 0 32px;
}

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

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

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

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

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
    space-y: 8px;
}

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

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-700);
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-badges .badge {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 4px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
}

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

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid,
    .tech-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 16px;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 80vh;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-proof {
        justify-content: center;
        gap: 32px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-guarantee {
        flex-direction: column;
        gap: 16px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
