/* CSS Variables for Theme */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #222;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #ff6b35;
    --accent-hover: #ff8555;
    --border: #333;
    --shadow: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #fff;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --accent: #ff6b35;
    --accent-hover: #ff8555;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow);
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--accent) 0%, #d63447 100%);
    padding: 80px 20px 60px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
}

.header-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin-bottom: 30px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--accent);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.1rem);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.header-cta svg {
    width: 24px;
    height: 24px;
    color: #0088cc;
}

/* About Section */
.about {
    padding: 60px 20px;
    background-color: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    display: block;
}

.about-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-section {
    margin-bottom: 30px;
}

.about-section h3 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--text-primary);
    margin-bottom: 15px;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.about-list.achievements li::before {
    content: '';
}

.about-location {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 12px var(--shadow);
}

.about-location svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.about-location span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 60px 20px;
    background-color: var(--bg-primary);
}

.pricing h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.pricing-intro {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 10px;
    color: var(--text-primary);
}

.category-subtitle {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 25px;
}

/* Price Cards */
.price-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px var(--shadow);
    border: 2px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--shadow);
}

.price-card.featured {
    border-color: var(--accent);
    position: relative;
    overflow: hidden;
}

.price-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #d63447);
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.price-header h4 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--text-primary);
}

.price {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent);
}

.price span {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    color: var(--text-secondary);
}

.price-description {
    margin-bottom: 20px;
}

.price-description p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.price-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.price-badge {
    background: linear-gradient(135deg, var(--accent), #d63447);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 15px;
}

/* Price Table */
.price-table {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow);
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.price-table th,
.price-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.price-table th {
    background: linear-gradient(135deg, var(--accent), #d63447);
    color: #fff;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.price-table td {
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.price-table td strong {
    color: var(--accent);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.price-table td small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.price-table tr.highlighted {
    background: var(--bg-secondary);
}

.price-table tr:hover {
    background: var(--bg-secondary);
}

.price-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
}

/* Price Grid for Small Cards */
.price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

.price-card-small {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 16px var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.price-card-small:hover {
    transform: translateY(-3px);
}

.price-card-small h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 12px;
    color: var(--text-primary);
}

.price-small {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.price-card-small p {
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.6;
}

/* Pricing Note Box */
.pricing-note-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(214, 52, 71, 0.1));
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
}

.pricing-note-box h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 15px;
    color: var(--text-primary);
}

.pricing-note-box p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: var(--bg-secondary);
    border-radius: 20px;
}

.cta-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #d63447);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.2rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.6);
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: var(--bg-secondary);
}

.contact h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px var(--shadow);
    border: 2px solid var(--border);
}

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow);
}

.contact-link.telegram {
    border-color: #0088cc;
}

.contact-link.telegram svg {
    color: #0088cc;
}

.contact-link span {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--text-primary);
}

.contact-address {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--shadow);
    border: 2px solid var(--border);
}

.contact-address svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 4px;
}

.contact-address div {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-address strong {
    color: var(--text-primary);
}

/* Map Section */
.map-container {
    margin-top: 50px;
}

.map-container h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-primary);
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow);
    border: 2px solid var(--border);
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--bg-card);
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid var(--border);
}

.footer p {
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1.5fr;
        gap: 50px;
    }

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

    .contact-content {
        flex-direction: row;
        max-width: 100%;
    }

    .contact-link,
    .contact-address {
        flex: 1;
    }
    
    .map-wrapper {
        height: 450px;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .price-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .header {
        padding: 100px 20px 80px;
    }

    .about,
    .pricing,
    .contact {
        padding: 80px 20px;
    }
}

/* Print Styles */
@media print {
    .theme-toggle {
        display: none;
    }
}
