/* Base Styles */
html {
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    background-color: floralwhite;
}

/* Header */
.header {
    background-color: #434357 !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
}

.header-right {
    display: flex;
    align-items: center;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.line {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.privacy-hero {
    background: #434357;
    padding: 8rem 6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    max-width: 100%;
    margin: 0 0 0 0;
    min-height: 45vh;
}

.privacy-hero-left h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    margin-top: 4rem;
}   

/* Policy Content Container */
.policy-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: floralwhite;
}

/* Important Notice Box */
.important-notice {
    background: #fff4e6;
    border-left: 4px solid #ff6b6b;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.important-notice h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d63031;
    margin: 0 0 1rem 0;
    letter-spacing: 0.01em;
}

.important-notice p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2c2c2c;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
}

/* Policy Sections - Single Background */
.policy-section {
    padding: 4rem 6rem;
    margin: 0;
    background-color: floralwhite;
}

/* Term Items */
.term-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.term-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #434357;
    min-width: 2.5rem;
    flex-shrink: 0;
}

.term-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2c2c2c;
    text-align: justify;
    text-justify: inter-word;
    flex: 1;
    min-width: 0;
}

/* Lists inside terms */
.term-item ul {
    margin: 1rem 0 0 0;
    padding-left: 2rem;
}

.term-item li {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    line-height: 1.75;
    color: #2c2c2c;
    text-align: justify;
    text-justify: inter-word;
}

/* Links */
.term-text a {
    color: #434357;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #434357;
    transition: all 0.3s ease;
}

.term-text a:hover {
    color: #2c2c40;
    border-bottom-color: #2c2c40;
}

/* Read More Container - Fixed/Floating */
.read-more-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: transparent;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    z-index: 999;
}

/* Read More Button - Floating Style */
.read-more-btn {
    background-color: transparent;
    color: #4169E1;
    border: 2px solid #4169E1;
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.2);
    backdrop-filter: blur(10px);
}

.read-more-btn:hover {
    background-color: #4169E1;
    color: #ffffff;
    border-color: #4169E1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(65, 105, 225, 0.35);
}

.read-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(65, 105, 225, 0.3);
}

/* Hidden Content with Peek Effect */
.hidden-content {
    max-height: 350px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-out;
}

/* Gradient overlay for peek effect */
.hidden-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom,
            rgba(255, 250, 240, 0) 0%,
            rgba(255, 250, 240, 0.7) 50%,
            floralwhite 100%);
    pointer-events: none;
    z-index: 1;
}

.hidden-content.show {
    max-height: 15000px;
    transition: max-height 1.5s ease-in;
}

.hidden-content.show::after {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hide button when content is visible */
.read-more-container.hide {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer {
    background: #434357 !important;
}
.f-social-icon {
    border: 1.5px solid #434357 !important;
}
.f-social-icon:hover {
    color: #434357 !important;
}


.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Selection Color */
::selection {
    background-color: #434357;
    color: #ffffff;
}

::-moz-selection {
    background-color: #434357;
    color: #ffffff;
}

/* ===== RESPONSIVE DESIGN ===== */

/* 5. LARGE SCREENS (1921px+) */
@media screen and (min-width: 1921px) {
  .header {
    padding: 2rem 8rem;
  }

  .logo {
    font-size: 2.2rem;
  }

  .line {
    width: 32px;
    height: 3.5px;
  }

  .privacy-hero {
    padding: 10rem 8rem 3rem;
    min-height: 50vh;
    gap: 5rem;
  }

  .privacy-hero-left h1 {
    font-size: 4.5rem;
    margin-top: 5rem;
  }

  .policy-section {
    padding: 5rem 8rem;
  }

  .important-notice {
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 2.5rem;
  }

  .important-notice h2 {
    font-size: 1.8rem;
    margin-bottom: 1.3rem;
  }

  .important-notice p {
    font-size: 1.2rem;
    line-height: 1.8;
  }

  .term-item {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .term-number {
    font-size: 1.4rem;
    min-width: 3rem;
  }

  .term-text {
    font-size: 1.2rem;
    line-height: 1.8;
  }

  .term-item ul {
    margin: 1.3rem 0 0 0;
    padding-left: 2.5rem;
  }

  .term-item li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
  }

  .read-more-container {
    bottom: 2.5rem;
    right: 2.5rem;
  }

  .read-more-btn {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    border-radius: 8px;
  }

  .hidden-content {
    max-height: 450px;
  }

  .hidden-content::after {
    height: 130px;
  }

  footer {
    padding: 4rem 8rem;
  }

  footer p {
    font-size: 1.15rem;
  }

  .last-updated {
    font-size: 1.05rem;
  }
}

/* 2. STANDARD DESKTOP (1367px - 1920px) */
@media screen and (min-width: 1367px) and (max-width: 1920px) {
  .header {
    padding: 1.7rem 7rem;
  }

  .logo {
    font-size: 1.9rem;
  }

  .privacy-hero {
    padding: 9rem 7rem 2.5rem;
    min-height: 48vh;
  }

  .privacy-hero-left h1 {
    font-size: 4rem;
    margin-top: 4.5rem;
  }

  .policy-section {
    padding: 4.5rem 7rem;
  }

  .important-notice {
    padding: 2.2rem;
  }

  .important-notice h2 {
    font-size: 1.6rem;
  }

  .important-notice p {
    font-size: 1.1rem;
  }

  .term-item {
    gap: 1.7rem;
    margin-bottom: 2.2rem;
  }

  .term-number {
    font-size: 1.3rem;
    min-width: 2.7rem;
  }

  .term-text {
    font-size: 1.1rem;
  }

  .term-item li {
    font-size: 1.1rem;
  }

  footer {
    padding: 3.5rem 7rem;
  }
}

/* 1. LAPTOP / HALF SCREEN (1025px - 1366px) - FIXED */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
  .header {
    padding: 1.5rem 6rem;
  }

  .logo {
    font-size: 1.8rem;
  }

  .privacy-hero {
    padding: 8rem 6rem 2rem;
    min-height: 45vh;
  }

  .privacy-hero-left h1 {
    font-size: 3.5rem;
    margin-top: 4rem;
  }

  .policy-section {
    padding: 4rem 6rem;
  }

  .important-notice {
    padding: 2rem;
  }

  .important-notice h2 {
    font-size: 1.5rem;
  }

  .important-notice p {
    font-size: 1.05rem;
  }

  .term-item {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .term-number {
    font-size: 1.2rem;
    min-width: 2.5rem;
  }

  .term-text {
    font-size: 1.05rem;
  }

  .term-item li {
    font-size: 1.05rem;
  }

  .read-more-container {
    bottom: 2rem;
    right: 2rem;
  }

  .read-more-btn {
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
  }

  .hidden-content {
    max-height: 350px;
  }

  footer {
    padding: 3rem 6rem;
  }
}

/* 3. TABLET (769px - 900px) */
@media screen and (min-width: 769px) and (max-width: 900px) {
  .header {
    padding: 1.4rem 4rem;
  }

  .logo {
    font-size: 1.6rem;
  }

  .line {
    width: 26px;
  }

  .privacy-hero {
    padding: 7rem 4rem 2rem;
    min-height: 40vh;
    flex-direction: column;
    gap: 2.5rem;
  }

  .privacy-hero-left h1 {
    font-size: 3rem;
    margin-top: 2rem;
  }

  .policy-section {
    padding: 3.5rem 4rem;
  }

  .important-notice {
    padding: 1.8rem;
  }

  .important-notice h2 {
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
  }

  .important-notice p {
    font-size: 1.02rem;
  }

  .term-item {
    gap: 1.2rem;
    margin-bottom: 1.8rem;
  }

  .term-number {
    font-size: 1.15rem;
    min-width: 2.2rem;
  }

  .term-text {
    font-size: 1.02rem;
  }

  .term-item ul {
    padding-left: 1.8rem;
  }

  .term-item li {
    font-size: 1.02rem;
    margin-bottom: 0.75rem;
  }

  .read-more-container {
    bottom: 1.8rem;
    right: 1.8rem;
  }

  .read-more-btn {
    padding: 0.85rem 1.9rem;
    font-size: 0.98rem;
  }

  .hidden-content {
    max-height: 300px;
  }

  .hidden-content::after {
    height: 100px;
  }

  footer {
    padding: 2.8rem 4rem;
  }

  footer p {
    font-size: 0.98rem;
  }
}

/* 4. MOBILE LAYOUT (< 768px) */
@media screen and (max-width: 768px) {
  .header {
    padding: 1.2rem 2rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .line {
    width: 25px;
    height: 2.5px;
  }

  .privacy-hero {
    padding: 6rem 2rem 1.5rem;
    min-height: 35vh;
    flex-direction: column;
    gap: 2rem;
  }

  .privacy-hero-left h1 {
    font-size: 2.2rem;
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .policy-section {
    padding: 2.5rem 2rem;
  }

  .important-notice {
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.8rem;
  }

  .important-notice h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .important-notice p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .term-item {
    gap: 1rem;
    margin-bottom: 1.7rem;
  }

  .term-number {
    font-size: 1.1rem;
    min-width: 2rem;
  }

  .term-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .term-item ul {
    margin: 0.9rem 0 0 0;
    padding-left: 1.7rem;
  }

  .term-item li {
    font-size: 1rem;
    margin-bottom: 0.7rem;
    line-height: 1.7;
  }

  .read-more-container {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .read-more-btn {
    padding: 0.8rem 1.7rem;
    font-size: 0.95rem;
  }

  .hidden-content {
    max-height: 220px;
  }

  .hidden-content::after {
    height: 110px;
  }

  footer {
    padding: 2rem 2rem;
  }

  footer p {
    font-size: 0.95rem;
  }

  .last-updated {
    font-size: 0.88rem;
  }
}

/* 4.1 SMALL PHONES (< 480px) */
@media screen and (max-width: 480px) {
  .header {
    padding: 1rem 1.5rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .line {
    width: 24px;
    height: 2.5px;
    gap: 4px;
  }

  .privacy-hero {
    padding: 5rem 1.5rem 1rem;
    min-height: 30vh;
    gap: 1.5rem;
  }

  .privacy-hero-left h1 {
    font-size: 1.8rem;
    margin-top: 1rem;
  }

  .policy-section {
    padding: 2rem 1.5rem;
  }

  .important-notice {
    padding: 1.25rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
  }

  .important-notice h2 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }

  .important-notice p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .term-item {
    gap: 0.75rem;
    flex-direction: column;
    margin-bottom: 1.5rem;
  }

  .term-number {
    font-size: 1rem;
    min-width: auto;
  }

  .term-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .term-item ul {
    margin: 0.8rem 0 0 0;
    padding-left: 1.5rem;
  }

  .term-item li {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    line-height: 1.65;
  }

  .read-more-container {
    bottom: 1.2rem;
    right: 1.2rem;
  }

  .read-more-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 5px;
  }

  .hidden-content {
    max-height: 180px;
  }

  .hidden-content::after {
    height: 90px;
  }

  footer {
    padding: 1.5rem 1.5rem;
  }

  footer p {
    font-size: 0.9rem;
  }

  .last-updated {
    font-size: 0.85rem;
  }
}
