/* === RESET & VARIABLES === */
:root {
    --bg-color: #cd90ff;
    --card-bg: #723395;
    --input-bg: #1A1A1A;
    --text-color: #FFFFFF;
    --text-secondary: #FFF;
    --accent-color: #8034DD;
    --accent-hover: #9450e6;
    --error-color: #ff4d4d;
    --success-color: #4dff88;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Rubik Gemstones', system-ui;
    --container-width: 600px;
    --glass-border: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
.font-display { font-family: var(--font-display); }

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }

/* === HEADER === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(179, 123, 200, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    border: 2px solid;
    border-radius: 12px;
    padding: 4px 16px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link:hover { color: var(--accent-color); }

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.3s;
}

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

.mobile-menu {
    display: none;
    background: var(--card-bg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 24px;
}

.mobile-menu.active { display: block; }

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu a:last-child { border-bottom: none; }

/* === FORM CONTAINER === */
.form-container {
    max-width: var(--container-width);
    margin: 140px auto 60px auto;
    padding: 0 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* === FORM STYLES === */
.booking-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.form-label .optional {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 12px;
    margin-left: 5px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 20px;
    background: #7140A2;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-family: var(--font-main);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(128, 52, 221, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-secondary);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238034DD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

.form-select option {
    background: var(--card-bg);
    color: #fff;
}

/* Phone Input Wrapper */
.phone-input-wrapper { position: relative; }
.phone-input-wrapper .form-input { padding-left: 50px; }

.phone-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Social Inputs Row */
.social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.social-input-wrapper { position: relative; }
.social-input-wrapper .form-input { padding-left: 45px; }

.social-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: var(--accent-color);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled {
    background: #444;
    cursor: not-allowed;
    transform: none;
}

/* Privacy Note */
.privacy-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 20px;
}

.privacy-note a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 40px;
}

.success-message.active { display: block; }

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(77, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--success-color);
}

.success-message h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Error States */
.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.active { display: block; }

/* === SECTION DIVIDER === */
.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.section-divider .shape-fill {
    fill: #9953d3;
}

/* === ISSUE CARD ICONS === */
.issue-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.issue-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 52, 221, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(128, 52, 221, 0.3);
    font-size: 36px;
}

.issue-card h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

/* === METHOD QUOTE === */
.method-quote {
    margin-top: 60px;
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(185, 62, 255, 0.93), rgba(214, 102, 255, 0.93));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.method-quote::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 120px;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: -32px;
    left: 24px;
    line-height: 1;
}

.method-quote-text {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.method-quote-author {
    font-size: 16px;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
}

/* === METHOD SECTION === */
.method-section {
    background: var(--bg-color);
    padding: 120px 0;
    overflow: hidden;
    position: relative;
}

.method-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.method-content { padding-right: 40px; }

.method-content h2 {
    font-size: clamp(40px, 5vw, 60px);
    margin-bottom: 30px;
    line-height: 1.1;
}

.method-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.7;
    opacity: 0.9;
}

.method-list { list-style: none; margin: 30px 0; }

.method-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 17px;
    color: #fff;
}

.method-list li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
    background: rgba(255,255,255,0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* === FLOATING VISUALS === */
.method-visuals {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.method-main-image {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
    animation: floatMain 6s ease-in-out infinite;
}

.floater {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    z-index: 20;
    white-space: nowrap;
}

.floater-icon { margin-right: 8px; font-size: 18px; }

.floater-1 {
    top: 10%;
    left: 0;
    animation: floatItem 5s ease-in-out infinite 0.5s;
}

.floater-2 {
    top: 15%;
    right: 0;
    animation: floatItem 7s ease-in-out infinite 1s;
    background: rgba(128, 52, 221, 0.3);
}

.floater-3 {
    bottom: 15%;
    left: 10%;
    background: rgba(128, 52, 221, 0.3);
    animation: floatItem 6s ease-in-out infinite 2s;
}

.floater-4 {
    bottom: 5%;
    right: 5%;
    max-width: 180px;
    white-space: normal;
    animation: floatItem 8s ease-in-out infinite 1.5s;
    text-align: center;
}

.method-bg-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(128, 52, 221, 0.4) 0%, rgba(128, 52, 221, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(40px);
}

@keyframes floatMain {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatItem {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .method-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .method-content {
        padding-right: 0;
        text-align: center;
    }

    .method-list {
        text-align: left;
        display: inline-block;
    }

    .method-visuals {
        height: 500px;
        order: -1;
    }
    
    .method-main-image { max-width: 350px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    
    .form-header h1 { font-size: 32px; }
    .booking-form { padding: 25px; }
    .social-row { grid-template-columns: 1fr; }
    
    .floater {
        font-size: 12px;
        padding: 10px 15px;
    }
    .floater-1 { left: -10px; }
    .floater-2 { right: -10px; }
}