@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --secondary-light: #f472b6;
    --accent: #14b8a6;
    --accent-light: #2dd4bf;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --light: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--light) 0%, #f1f5f9 100%);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { 
    font-size: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 { font-size: 40px; color: var(--dark); }
h3 { font-size: 24px; color: var(--dark); }
h4 { font-size: 18px; color: var(--dark); }

/* === HEADER === */
.header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--primary);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
}

/* === MAIN === */
.main {
    position: relative;
    z-index: 1;
}

/* === DECORATIVE ELEMENTS === */
.blob-1 {
    position: fixed;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: -100px;
    right: -100px;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    position: fixed;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(99, 102, 241, 0.15));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -50px;
    left: -50px;
    z-index: 0;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

/* === HERO === */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 16px;
    font-size: 58px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.features-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 32px;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature h4 {
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature p {
    color: var(--text-light);
    font-size: 14px;
}

@media (max-width: 768px) {
    .features-3col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero {
        padding: 60px 0 40px;
    }
}

/* === TARIFFS === */
.tariffs {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.tariffs-title {
    text-align: center;
    margin-bottom: 60px;
}

.tariffs-title h2 {
    margin-bottom: 12px;
}

.tariffs-title p {
    color: var(--text-light);
    font-size: 16px;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tariff {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tariff::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tariff:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
}

.tariff:hover::before {
    transform: scaleX(1);
}

.tariff.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    transform: scale(1.05);
}

.tariff.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.tariff-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tariff-days {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 24px;
}

.tariff-price {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.5);
}

.price-big {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 20px;
    vertical-align: super;
}

.price-old {
    display: inline-block;
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 8px;
}

.tariff-list {
    list-style: none;
    margin-bottom: 32px;
}

.tariff-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tariff-list li:last-child {
    border-bottom: none;
}

.tariff-list li:before {
    content: "✓";
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

@media (max-width: 768px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
    }
    .tariff.featured {
        transform: scale(1);
    }
    .tariff.featured:hover {
        transform: translateY(-8px);
    }
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.btn-large {
    padding: 14px 40px;
    font-size: 15px;
    width: 100%;
}

.btn-copy {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

/* === FORMS === */
.form-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(226, 232, 240, 0.5);
    border-radius: 20px;
    padding: 48px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 24px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-helper {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
}

.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
}

.error.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-light);
}

/* === LAYOUT: 2 COLUMN === */
.page-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 80px 0;
}

.page-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (max-width: 1024px) {
    .page-2col {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }
}

/* === CARDS === */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(226, 232, 240, 0.5);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
}

.card h3 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-list {
    list-style: none;
}

.card-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-list li:last-child {
    border-bottom: none;
}

.card-list li:before {
    content: "•";
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* === STEPS === */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 80px 0;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.step h4 {
    margin-bottom: 8px;
}

.step p {
    color: var(--text-light);
    font-size: 13px;
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .step {
        text-align: left;
        display: flex;
        gap: 16px;
    }
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
}

/* === INFO BOX === */
.info-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.1));
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 10px;
    margin: 24px 0;
    font-size: 14px;
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.info-box p {
    margin: 8px 0;
    color: var(--primary);
}

.info-box a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* === COPY BOX === */
.copy-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    transition: all 0.3s ease;
}

.copy-box:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
}

.copy-box code {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-light);
    word-break: break-all;
    flex: 1;
}

/* === SUCCESS === */
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 40px;
    color: white;
    box-shadow: 0 15px 35px rgba(20, 184, 166, 0.3);
    animation: bounce 0.6s ease-out;
}

@keyframes bounce {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.success h1 {
    margin-bottom: 12px;
}

.success-subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
}

.info-grid {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(226, 232, 240, 0.5);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    font-size: 14px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-light);
}

.info-value {
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === ERROR === */
.error-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 40px;
    color: white;
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3);
}

/* === FOOTER === */
.footer {
    border-top: 2px solid rgba(226, 232, 240, 0.5);
    padding: 40px 0;
    margin-top: 80px;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer a:hover {
    text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }
    
    .form-box {
        padding: 32px 24px;
    }
    
    .tariffs-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .blob-1, .blob-2 {
        display: none;
    }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}