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

:root {
    --purple-start: #6C5CE7;
    --purple-end: #A29BFE;
    --purple-dark: #5B4CDB;
    --orange-start: #FF7675;
    --orange-end: #FD79A8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #F5F6FA;
    color: #2D3436;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--purple-start), var(--purple-end));
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(108, 92, 231, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.header-nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    /*background: rgba(255, 255, 255, 0.1);*/
}

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

/* Tools Dropdown */
.tools-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.tools-dropdown-wrapper .nav-link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid white;
    transition: transform 0.3s ease;
}

.tools-dropdown-wrapper:hover .nav-link::after {
    transform: rotate(180deg);
}

.tools-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 8px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 720px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.tools-dropdown-wrapper:hover .tools-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tool-option {
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #2D3436;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 12px;
    background: #F8F9FA;
}

.tool-option:hover {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(162, 155, 254, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.15);
}

.tool-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(162, 155, 254, 0.15));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-icon svg {
    width: 22px;
    height: 22px;
    color: var(--purple-start);
}

.tool-content {
    flex: 1;
}

.tool-title {
    font-size: 14px;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 4px;
    line-height: 1.3;
}

.tool-description {
    font-size: 12px;
    color: #636E72;
    line-height: 1.5;
}

.cta-button {
    background: white;
    color: var(--purple-start);
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--purple-start), var(--purple-end));
    color: white;
    padding: 80px 5% 100px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-content {
    max-width: 520px;
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-cta {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-visual {
    width: 100%;
    max-width: 520px;
    position: relative;
}

.hero-visual img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.25));
}

@media (min-width: 992px) {
    .hero {
        padding: 100px 5% 120px;
        text-align: left;
    }

    .hero-inner {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-visual {
        max-width: 560px;
    }
}

.primary-button {
    background: white;
    color: var(--purple-start);
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 5%;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2D3436;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #636E72;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(162, 155, 254, 0.15));
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2D3436;
}

.feature-description {
    font-size: 16px;
    color: #636E72;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 5%;
    background: #ffffff;
}

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

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-wrapper {
    border-radius: 24px;
    overflow: hidden;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.screenshot-wrapper:hover {
    transform: translateY(-8px);
}

.screenshot-wrapper img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
}

.screenshot-caption {
    font-size: 18px;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 8px;
}

.screenshot-description {
    font-size: 14px;
    color: #636E72;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 5%;
    background: white;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple-start), var(--purple-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2D3436;
}

.step-content p {
    font-size: 16px;
    color: #636E72;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--purple-start), var(--purple-end));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: #2D3436;
    color: white;
    padding: 40px 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo svg {
    width: 28px;
    height: 28px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
}

.footer p {
    color: #B2BEC3;
    font-size: 14px;
}

.footer-link {
    color: #B2BEC3;
    text-decoration: none;
}

.footer-link:hover {
    color: #ffffff;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lang-button svg,
.lang-button img {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2D3436;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.lang-option:first-child {
    border-radius: 12px 12px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 12px 12px;
}

.lang-option:hover {
    background: #F5F6FA;
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
    font-weight: 600;
}

.lang-option img {
    width: 24px;
    height: 24px;
    border-radius: 3px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--purple-start), var(--purple-end));
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav {
    display: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-link {
    padding: 12px 16px;
    display: block;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s ease;
    margin-bottom: 8px;
}

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

.mobile-tools-section {
    margin-top: 8px;
}

.mobile-tools-header {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-size: 16px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
    text-align: left;
}

.mobile-tools-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-tools-header .tools-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.mobile-tools-header.active .tools-arrow {
    transform: rotate(180deg);
}

.mobile-tools-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-tools-list.expanded {
    max-height: 500px;
}

.mobile-tool-link {
    padding: 10px 16px 10px 32px;
    display: block;
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.2s ease;
    opacity: 0.9;
}

.mobile-tool-link:hover {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.mobile-lang-switcher {
    display: none;
}

.mobile-lang-option {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    /*background: rgba(255, 255, 255, 0.1);*/
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-lang-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-lang-option.active {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.mobile-lang-option img {
    width: 24px;
    height: 24px;
    border-radius: 3px;
}

.mobile-cta {
    margin-top: 20px;
}

.mobile-cta .cta-button {
    width: 100%;
    text-align: center;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header-actions,
    .header-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .mobile-lang-switcher {
        display: block;
    }
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        max-width: 300px;
    }
}
