/* ============================================
   CONNECTS - Fourth Attempt
   Color Palette & Base Styles
   ============================================ */

   :root {
    /* Color Palette */
    --color-purple-light: #DBB8FF;
    --color-orange: #FF6830;
    --color-cyan: #ADE1E9;
    --color-lime: #D2FC59;
    --color-black: #1C1C1C;
    --color-white: #FFFFFF;
    --color-purple-main: #C790FF;  /* Main */

    /* Typography */
    --font-roc: 'roc-grotesk', sans-serif;
    --font-clash-grotesk: 'Clash Grotesk', sans-serif;
    --font-clash-display: 'Clash Display', sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-width: 1200px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-clash-grotesk);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ============================================
   Typography
   ============================================ */

/* H1 - Clash Display, 48px, line-height 46px, semibold */
h1, .h1 {
    font-family: var(--font-clash-display);
    font-size: 48px;
    line-height: 46px;
    font-weight: 600;
}

/* H2 - Clash Display, 36px, line-height 34px, semibold */
h2, .h2 {
    font-family: var(--font-clash-display);
    font-size: 36px;
    line-height: 34px;
    font-weight: 600;
}

/* H3 - Clash Display, 24px, line-height 27px, semibold */
h3, .h3 {
    font-family: var(--font-clash-display);
    font-size: 24px;
    line-height: 27px;
    font-weight: 600;
}

/* Body - Clash Grotesk, 16px, line-height 22px, medium */
body, .body-text {
    font-family: var(--font-clash-grotesk);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: var(--color-black);
}

/* Caption - Clash Grotesk, 12px, line-height 16px, medium */
.caption {
    font-family: var(--font-clash-grotesk);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--color-black);
}

/* Heading color variants */
.text-white { color: var(--color-white); }
.text-black { color: var(--color-black); }
.text-purple { color: var(--color-purple-main); }
.text-purple-light { color: var(--color-purple-light); }
.text-orange { color: var(--color-orange); }
.text-cyan { color: var(--color-cyan); }
.text-lime { color: var(--color-lime); }

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

/* ============================================
   Buttons
   ============================================ */

/* Button Base (shared styles) */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.btn-content {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Copy 1 - visible by default, centered */
.btn-content:first-child {
    opacity: 1;
    transform: translateY(0);
}

/* Copy 2 - hidden by default, positioned below */
.btn-content:last-child {
    position: absolute;
    opacity: 0;
    transform: translateY(100%);
}

/* Hover: Copy 1 moves up and fades out */
.btn:hover .btn-content:first-child {
    opacity: 0;
    transform: translateY(-100%);
}

/* Hover: Copy 2 moves to center and fades in */
.btn:hover .btn-content:last-child {
    opacity: 1;
    transform: translateY(0);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
}

/* Button Size: Big */
.btn-big {
    padding: 22px 24px;
    font-family: var(--font-clash-display);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.btn-big .btn-content {
    gap: 10px;
}

.btn-big .btn-icon {
    width: 11px;
    height: 11px;
}

/* Button Size: Small */
.btn-small {
    padding: 12px 18px;
    font-family: var(--font-clash-grotesk);
    font-size: 10px;
    font-weight: 500;
    text-transform: none;
}

.btn-small .btn-content {
    gap: 6px;
}

.btn-small .btn-icon {
    width: 7px;
    height: 6.5px;
}

/* Button Variant: Purple background, white text */
.btn-purple {
    background-color: var(--color-purple-main);
    color: var(--color-white);
}

.btn-purple .btn-icon svg path {
    stroke: var(--color-white);
}

/* Button Variant: White background, black text */
.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-white .btn-icon svg path {
    stroke: var(--color-black);
}

/* ============================================
   Test Page Styles
   ============================================ */

.test-section {
    padding: 60px 40px;
    margin-bottom: 40px;
}

.test-section-title {
    font-family: var(--font-clash-grotesk);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-purple-main);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.button-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}

.bg-dark {
    background-color: var(--color-black);
    padding: 40px;
}

.bg-dark .test-section-title {
    color: var(--color-purple-light);
    border-color: #333;
}

.bg-purple {
    background-color: var(--color-purple-main);
    padding: 40px;
}

.bg-cyan {
    background-color: var(--color-cyan);
    padding: 40px;
}

.bg-cyan .test-section-title {
    color: var(--color-black);
    border-color: rgba(0,0,0,0.1);
}

.typography-sample {
    margin-bottom: 30px;
}

.typography-sample + .typography-sample {
    margin-top: 40px;
}

.color-swatches {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 8px;
    font-size: 10px;
    font-weight: 500;
}

/* ============================================
   SVG Sprite (hidden)
   ============================================ */
.svg-sprites {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
