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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.logo img {
    width: 42px;
    height: 42px;
    vertical-align: middle;
    border-radius: 10px;
}

.logo span {
    margin: 0 5px;
    line-height: 42px;
    vertical-align: top;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    min-width: 300px;
    border: outset;
    border-width: 2px;
    border-color: lavender;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
    color: white;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

/* Extensions Section */
.extensions {
    background: white;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

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

.extension-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #f0f0f0;
}

.extension-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.extension-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.extension-icon {
    width: 64px;
    height: 64px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-right: 15px;
    flex-shrink: 0;
}

.extension-title {
    font-size: 1.6em;
    color: #333;
    font-weight: bold;
}

.extension-title span {
    font-family: 'Open Sans', Tahoma;
    font-size: 1.8em;
    font-weight: normal;
    color: #209CEE;
}

.extension-promo {
    width: 100%;
    max-width: 440px;
}

.extension-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

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

.features-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

.install-button {
    display: block;
    text-align: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: outset;
    border-width: 2px;
    border-color: lavender;
}

.install-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
}

.features-section .container {
    max-width: 900px;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

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

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Comparison Section */
.comparison {
    background: #f8f9fa;
    padding: 80px 0;
}

.comparison-table {
    max-width: 900px;
    min-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    font-size: 18px;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    line-height: 30px;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* CTA Section */
.final-cta {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.final-cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

footer p {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .extensions-grid {
        grid-template-columns: 1fr;
    }

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

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.extension-card {
    animation: fadeIn 0.6s ease-out;
}

.extension-card:nth-child(2) {
    animation-delay: 0.2s;
}

.icon {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    vertical-align: middle;
}

/* Green Tick */
.tick {
    background-color: #28a745;
}

.tick::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 12px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(45deg);
    left: 11px;
    top: 7px;
}

/* Red Cross */
.cross {
    background-color: #dc3545;
}

.cross::before,
.cross::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 16px;
    background-color: white;
    left: 13px;
    top: 7px;
}

.cross::before {
    transform: rotate(45deg);
}

.cross::after {
    transform: rotate(-45deg);
}

/* Language dropdown (custom, white theme) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-dropdown {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    color: #111111;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lang-toggle:focus {
    outline: 2px solid rgba(102, 126, 234, 0.45);
    outline-offset: 2px;
}

.lang-dropdown.open .lang-toggle {
    background: #f7f7ff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.lang-chevron {
    display: inline-block;
    transition: transform 180ms ease;
    transform-origin: 50% 55%;
}

.lang-dropdown.open .lang-chevron {
    transform: rotate(180deg);
}

/* Dropdown menu animation (open + close) */
.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #ffffff;
    color: #111111;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;

    transition:
        opacity 180ms ease,
        transform 180ms ease,
        visibility 0s linear 180ms;
    will-change: opacity, transform;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;

    transition:
        opacity 180ms ease,
        transform 180ms ease,
        visibility 0s linear 0s;
}

.lang-menu a {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #111111;
}

.lang-menu a:hover,
.lang-menu a:focus {
    background: rgba(102, 126, 234, 0.10);
    outline: none;
}

.lang-menu a.active {
    background: rgba(102, 126, 234, 0.16);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .lang-menu,
    .lang-chevron,
    .lang-toggle {
        transition: none !important;
    }
}
