@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Pinyon+Script&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --bg-dark: #000000;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.12);
    
    --accent: #CC2200; /* Swift Red */
    --accent-light: #ff3311;
    --accent-glow: rgba(204, 34, 0, 0.25);
    
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-light: rgba(255, 255, 255, 0.35);
    
    --star-active: #f59e0b; /* Gold */
    --star-hover: #fbbf24;
    --star-inactive: rgba(255, 255, 255, 0.2);
    
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Fraunces', serif;
    --font-script: 'Pinyon Script', cursive;
    
    --shadow-card: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(204, 34, 0, 0.08);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* BACKGROUND ORBS */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.orb-top-right {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(204, 34, 0, 0.18) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: pulseOrb 10s ease-in-out infinite alternate;
}

.orb-bottom-left {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(204, 34, 0, 0.12) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: pulseOrb 8s ease-in-out infinite alternate-reverse;
}

@keyframes pulseOrb {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(30px, -20px); opacity: 1; }
}

.container {
    width: 100%;
    max-width: 850px; /* Slightly wider to accommodate visual grids comfortably */
    background: var(--card-bg);
    border-radius: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow: hidden;
    position: relative;
    z-index: 10;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* HEADER SECTION */
.header {
    padding: 45px 50px 10px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
    position: relative;
}

.swift-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.swift-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-smooth);
}

.swift-logo:hover {
    transform: scale(1.04);
}

/* CONNECTING WOMEN HEADER BRAND */
.connecting-women-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.connecting-women-header .title-connecting {
    font-family: var(--font-sans);
    color: var(--text-white);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 0.9;
    text-transform: uppercase;
    display: block;
}

.connecting-women-header .title-women {
    font-family: var(--font-script);
    font-size: 3.8rem;
    line-height: 0.8;
    margin-top: 5px;
    display: block;
    background: linear-gradient(90deg, hsla(0, 0%, 100%, .95), #ffc8c8 30%, hsla(0, 0%, 100%, .95) 50%, #ffc8c8 70%, hsla(0, 0%, 100%, .95));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* EVENT DETAILS */
.event-info {
    padding: 0 50px;
    text-align: center;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-date-badge {
    display: inline-flex;
    padding: 6px 18px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.event-intro-title {
    font-family: var(--font-serif);
    font-size: 1.75rem; /* Larger bold title styling */
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.event-intro-title span {
    display: block; /* Forces onto a new line */
    margin-top: 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    text-transform: none; /* Keep text styling normal (not uppercase) */
    letter-spacing: normal;
}

/* FORM STYLING & ADVANCED FIELD ARRANGEMENTS */
.feedback-form {
    padding: 40px 50px 50px 50px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Layout Grid cluster rules */
.form-grid {
    display: grid;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.form-group:focus-within .form-label {
    color: var(--accent-light);
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.02);
    outline: none;
    transition: all var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    background: rgba(255, 255, 255, 0.05);
}

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

/* STAR RATING MODULE OVERHAUL (Aesthetic Grid) */
.rating-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.rating-header {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.rating-instruction-box {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 22px;
    border-radius: 12px;
    border-left: 2px solid var(--accent);
}

.rating-instruction-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.rating-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.legend-star {
    display: flex;
    align-items: center;
    color: var(--star-active);
    font-weight: 800;
    margin-right: 6px;
    gap: 2px;
}

.legend-label {
    color: var(--text-white);
    font-weight: 500;
}

/* Rating Grid Columns arrangement */
.rating-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rating-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    min-height: 220px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.rating-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: radial-gradient(circle at center 0%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.rating-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(204, 34, 0, 0.1);
    transform: translateY(-6px);
}

.rating-card:hover::before {
    opacity: 1;
}

.rating-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.rating-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.rating-card-desc {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
}

.stars-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.star-radio {
    display: none;
}

.star-label {
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--star-inactive);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.star-label svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5px;
    transition: transform var(--transition-fast), fill var(--transition-fast), filter var(--transition-fast);
}

/* Rating Hover and checked visual states */
.star-label:hover,
.star-label:hover ~ .star-label {
    color: var(--star-hover);
}

.star-label:hover svg {
    transform: scale(1.25);
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
}

.star-radio:checked ~ .star-label {
    color: var(--star-active);
}

.star-radio:checked ~ .star-label svg {
    fill: var(--star-active);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
}

/* SUBMIT BUTTON */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.submit-btn {
    background: var(--accent);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 18px 45px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(204, 34, 0, 0.4);
    transition: all var(--transition-smooth);
    width: 100%;
    max-width: 320px;
}

.submit-btn:hover {
    background: #e62500;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(204, 34, 0, 0.55);
}

.submit-btn:active {
    transform: translateY(1px);
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 50px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-thanks {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.footer-address {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.footer-address strong {
    color: var(--text-white);
}

.footer-address a {
    color: var(--accent-light);
    text-decoration: underline;
    font-weight: 700;
    transition: color var(--transition-fast);
}

.footer-address a:hover {
    color: var(--text-white);
}

/* SUCCESS CARD VIEW */
.success-card {
    padding: 90px 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.success-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    margin-bottom: 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.15);
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
}

.success-text {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 10px auto;
    line-height: 1.7;
}

.back-btn {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 9999px;
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.back-btn:hover {
    background: var(--text-white);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .rating-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .rating-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    body {
        padding: 20px 10px;
    }
    
    .container {
        border-radius: 20px;
    }
    
    .header, .feedback-form, .footer, .success-card {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .connecting-women-header .title-connecting {
        font-size: 2rem;
    }
    
    .connecting-women-header .title-women {
        font-size: 2.8rem;
    }
    
    .submit-btn {
        max-width: 100%;
    }
}
