/* Общие настройки */
:root {
    --light-grey: #f5f5f5;
    --grey: #333333;
    --white: #ffffff;
    --teal: #1f8ca5;
    --red: #e40139;
    --text-dark: #222;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* ШАПКА */
.site-header {
    background-color: var(--light-grey);
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

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

.logo img {
    height: 50px;
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--teal);
}

/* Выпадающее меню */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
}

.dropdown-menu li a:hover {
    background-color: var(--light-grey);
}

/* Кнопка */
.btn-request {
    background-color: var(--teal);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-request:hover {
    background-color: var(--red);
}

/* ПОДВАЛ */
.site-footer {
    background-color: var(--grey);
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: auto;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--teal);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9em;
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid #555;
    margin-bottom: 20px;
}

/* МОДАЛЬНОЕ ОКНО */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn-submit {
    background-color: var(--teal);
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.policy-agreement {
    font-size: 12px;
    margin-top: 15px;
    color: #666;
}

.policy-agreement a {
    color: var(--teal);
}

/* Стили для Главной страницы */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--grey);
}

.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9 0%, #e9ecef 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--teal);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #666;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.accent-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.accent-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.accent-list li::before {
    content: "•";
    color: var(--red);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--teal);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--teal);
    text-decoration: none;
    font-weight: bold;
}

.service-link:hover {
    color: var(--red);
}

/* Why Us */
.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-item {
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 500;
    border-left: 4px solid var(--red);
}

/* Workflow */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step {
    padding: 20px;
    background: var(--light-grey);
    border-radius: 8px;
}

.step span {
    font-size: 2rem;
    font-weight: bold;
    color: var(--teal);
    opacity: 0.3;
}

/* Vision Box */
.vision-box {
    background: var(--grey);
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
}

.vision-box h2 {
    color: var(--teal);
}

/* Final CTA */
.final-cta {
    text-align: center;
    background-color: #f4f4f4;
}

.final-cta h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* iOS Page Specific Styles */
.page-hero.ios-hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.9)), url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&q=80&w=1000') center/cover;
    padding: 120px 0;
    text-align: left;
}

.category-tag {
    color: var(--red);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

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

.ios-card {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
}

.ios-card:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tech-tags {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-tags li {
    background: var(--light-grey);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.tech-tags li:hover {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
}

.flex-row {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.flex-col {
    flex: 1;
    min-width: 300px;
}

.design-box {
    background: var(--grey);
    color: white;
    padding: 40px;
    border-radius: 20px;
    border-left: 8px solid var(--teal);
}

.process-flow {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.process-step {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 150px;
    text-align: center;
    font-weight: bold;
}

.process-step span {
    display: block;
    color: var(--red);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.cta-card {
    background: var(--teal);
    color: white;
    padding: 60px;
    border-radius: 30px;
    text-align: center;
}

.cta-card h2 { margin-bottom: 20px; }
.cta-card .btn-large { background: white; color: var(--teal); }
.cta-card .btn-large:hover { background: var(--red); color: white; }


.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Android Page Specific Styles */
.android-hero {
    background: linear-gradient(135deg, #f0f4f5 0%, #ffffff 100%);
    border-bottom: 4px solid var(--teal);
}

.tag-android {
    background: var(--teal);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.android-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.android-card {
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.android-card:hover {
    border-bottom: 3px solid var(--red);
    transform: translateY(-10px);
}

.card-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #eee;
    margin-bottom: 10px;
}

.material-design-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-right: 8px solid var(--red);
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.check-list li::before {
    content: "✓";
    color: var(--teal);
    margin-right: 10px;
    font-weight: bold;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.pill {
    background: #eef2f3;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--grey);
}

.fragmentation-bg {
    background: var(--grey);
    color: white;
}

.info-banner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.info-banner h2 { color: var(--teal); margin-bottom: 20px; }

.benefit-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.benefit-box {
    flex: 1;
    min-width: 250px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.cta-card-android {
    background: linear-gradient(45deg, var(--grey), #444);
    color: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}

.cta-card-android h2 { color: var(--teal); }


.publication-hero {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&q=80&w=1000') center/cover;
}

.platform-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.platform-box {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.platform-box:hover {
    transform: translateY(-5px);
}

.platform-box.apple { border-top: 6px solid #555; }
.platform-box.google { border-top: 6px solid var(--teal); }

.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.platform-icon { font-size: 2.5rem; }

.check-list-pub {
    list-style: none;
    padding: 0;
}

.check-list-pub li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    padding-left: 30px;
    position: relative;
}

.check-list-pub li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

.aso-section {
    background: var(--grey);
    color: white;
    border-radius: 30px;
    padding: 60px;
}

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

.aso-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
}

.warning-box {
    background: #fff5f5;
    padding: 40px;
    border-radius: 20px;
    border: 1px dashed var(--red);
}

.warning-steps {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.w-step {
    flex: 1;
    min-width: 140px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.w-step span {
    display: block;
    font-weight: bold;
    color: var(--red);
    font-size: 1.2rem;
}

.audience-flex {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.audience-flex span {
    padding: 10px 25px;
    background: var(--light-grey);
    border-radius: 50px;
    font-weight: 600;
}

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

.summary-item {
    font-weight: bold;
    color: var(--teal);
}


@media (max-width: 768px) {
    .platform-split { grid-template-columns: 1fr; }
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.team-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--teal);
}

.member-avatar {
    font-size: 64px;
    margin-bottom: 20px;
    background: #f8f9fa;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.team-card:hover .member-avatar {
    background: linear-gradient(135deg, #f0f4f5 0%, #ffffff 100%);
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--grey);
    margin: 10px 0 5px 0;
}

.member-role {
    font-size: 0.95rem;
    font-weight: 300;
    color: #888;
    margin: 0;
}


.philosophy-box {
    background: #fdfdfd;
    padding: 60px;
    border-radius: 32px;
    text-align: center;
    border: 1px solid #eee;
}

.values-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.value-item {
    background: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid var(--teal);
    color: var(--teal);
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-avatar {
        width: 140px;
        height: 140px;
        font-size: 80px;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
}


.about-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f5 100%);
    border-left: 10px solid var(--teal);
}

.mission-bg {
    background-color: var(--grey);
    color: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mission-list li::before {
    content: "⚡";
    margin-right: 10px;
    color: var(--teal);
}

.mission-quote {
    font-size: 1.8rem;
    font-style: italic;
    border-left: 4px solid var(--red);
    padding-left: 30px;
    color: #ccc;
}

.about-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.about-service-item {
    background: #f8f9fa;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #eee;
    transition: 0.3s;
}

.about-service-item:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.approach-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
}

.app-num {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(31, 140, 165, 0.1);
}

.value-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.value-tags span {
    background: var(--teal);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.wildcat-box {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    border: 2px solid #f0f0f0;
    text-align: center;
}

.wildcat-traits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.trait strong {
    color: var(--red);
    display: block;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .mission-grid { grid-template-columns: 1fr; }
    .mission-quote { font-size: 1.4rem; margin-top: 30px; }
}


.contacts-hero {
    background-color: var(--light-grey);
    text-align: center;
    padding: 80px 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.details-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.details-card h2 {
    margin-bottom: 30px;
    color: var(--grey);
}

.info-block {
    margin-bottom: 25px;
}

.info-block label {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-block p {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

.contact-email {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-email:hover {
    color: var(--red);
}

.cta-box {
    background: var(--grey);
    color: white;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    text-align: center;
}

.cta-inner h2 {
    color: var(--teal);
    margin-bottom: 20px;
}

.cta-inner p {
    margin-bottom: 30px;
    color: #ccc;
    line-height: 1.6;
}


.map-placeholder {
    height: 200px;
    background: #f0f0f0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ccc;
    color: #777;
    font-weight: 500;
}


@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .details-card, .cta-box {
        padding: 30px;
    }
}

.policy-page {
    background-color: #ffffff;
    padding: 100px 0;
    line-height: 1.8;
    color: #444;
}

.policy-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.policy-wrapper h1 {
    font-size: 2.5rem;
    color: var(--grey);
    margin-bottom: 10px;
}

.last-updated {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.policy-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--teal);
    font-size: 1.3rem;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

.legal-info-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--teal);
    margin-top: 20px;
}

.legal-info-box p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.legal-info-box a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
}


@media (max-width: 600px) {
    .policy-page { padding: 60px 0; }
    .policy-wrapper h1 { font-size: 1.8rem; }
}
