/* Общие стили для STARTUP SAFE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3b82f6;
    --secondary: #8b5cf6;
    --accent: #10b981;
    --dark: #1e293b;
    --light: #f1f5f9;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 18px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 28px;
    border-radius: 25px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

.nav-btn:hover {
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    padding-top: 80px;
}

/* Hero */
.hero {
    padding: 140px 40px 100px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -300px;
    right: -200px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 58px;
    margin-bottom: 25px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-btn {
    background: white;
    color: var(--primary);
    padding: 16px 45px;
    border-radius: 30px;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section {
    padding: 90px 40px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.section-title {
    font-size: 44px;
    margin-bottom: 18px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 19px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 22px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--dark);
}

.card-text {
    color: #64748b;
    line-height: 1.7;
}

/* Stats */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 17px;
    opacity: 0.9;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.step {
    text-align: center;
}

.step-num {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.step-text {
    color: #64748b;
    line-height: 1.6;
}

/* Pricing */
.pricing-card {
    background: white;
    padding: 45px 35px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    margin: 20px 0;
}

.pricing-period {
    color: #64748b;
    margin-bottom: 25px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

/* Testimonials */
.testimonial {
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #64748b;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.author-name {
    font-weight: 700;
    color: var(--dark);
}

.author-position {
    font-size: 14px;
    color: #64748b;
}

/* Form */
.form-section {
    background: var(--light);
}

.form-box {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    padding: 55px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    margin: 25px 0;
    align-items: flex-start;
}

.checkbox-group input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    font-size: 14px;
    color: #64748b;
}

.checkbox-group a {
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Thank You */
.thankyou {
    display: none;
    text-align: center;
    padding: 80px 40px;
}

.thankyou.active {
    display: block;
}

.thankyou-icon {
    font-size: 100px;
    margin-bottom: 25px;
}

.thankyou h2 {
    font-size: 42px;
    margin-bottom: 18px;
    color: var(--dark);
}

.thankyou p {
    font-size: 19px;
    color: #64748b;
    max-width: 550px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 70px 40px 35px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    display: inline;
    cursor: pointer;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.98);
    padding: 22px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    cursor: pointer;
}

.cookie-btns {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.cookie-btn.decline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 3000;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 18px;
    padding: 55px;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: var(--light);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal h2 {
    font-size: 34px;
    margin-bottom: 28px;
    color: var(--dark);
}

.modal h3 {
    font-size: 22px;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--primary);
}

.modal p,
.modal ul {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 18px;
}

.modal ul {
    padding-left: 22px;
}

/* Policy Pages */
.policy-page {
    padding: 100px 40px;
    background: var(--light);
}

.policy-content {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 55px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.policy-content h1 {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
}

.policy-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 35px 0 15px 0;
}

.policy-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin: 25px 0 10px 0;
}

.policy-content p {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-content li {
    color: #64748b;
    margin-bottom: 8px;
}

.policy-content strong {
    color: var(--dark);
    font-weight: 600;
}

.policy-content a {
    color: var(--primary);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu { 
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        z-index: 999;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu li a {
        display: block;
        padding: 15px 20px;
        font-size: 18px;
        border-radius: 8px;
        margin: 0 20px;
        transition: all 0.3s ease;
    }
    
    .nav-menu li a:hover {
        background: var(--light);
        color: var(--primary);
    }
    
    .hero h1 { 
        font-size: 38px; 
    }
    
    .section-title { 
        font-size: 34px; 
    }
    
    .grid-3, .stats-grid, .steps { 
        grid-template-columns: 1fr; 
    }
    
    .form-box { 
        padding: 35px 25px; 
    }
    
    .modal-content { 
        padding: 35px 25px; 
    }
    
    .cookie-banner { 
        flex-direction: column; 
    }
    
    .cookie-btns { 
        width: 100%; 
        flex-direction: column; 
    }
    
    .policy-content {
        padding: 35px 25px;
        margin: 0 15px;
    }
    
    .policy-content h1 {
        font-size: 32px;
    }
    
    .policy-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
}